The following three virtual methods in SystemTrayItem don't actually destroy anything, rather they are called when the corresponding item is about to be destroyed. They should be re-named accordingly, perhaps *ViewDestroyed() or *ViewWillBeDestroyed().
virtual void DestroyTrayView();
virtual void DestroyDefaultView();
virtual void DestroyDetailedView();
Comment 1 by est...@chromium.org
, Mar 31 2017