Bug 1038187 - Give JumpListSeparator a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 16:39:45 -0400
changeset 215045 cd1bf52e81f80548905b7386be0279181359f24f
parent 215044 7bad7ed33e06afcff13f801f7dd3d10c390e1e21
child 215046 b6928e5e90d8dcfdd99135a9553549215d05576f
push id3857
push userraliiev@mozilla.com
push dateTue, 02 Sep 2014 16:39:23 +0000
treeherdermozilla-beta@5638b907b505 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs1038187
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1038187 - Give JumpListSeparator a private destructor; r=bjacob
widget/windows/JumpListItem.h
--- a/widget/windows/JumpListItem.h
+++ b/widget/windows/JumpListItem.h
@@ -48,16 +48,18 @@ protected:
 
   short Type() { return mItemType; }
   short mItemType;
 
 };
 
 class JumpListSeparator : public JumpListItem, public nsIJumpListSeparator
 {
+  ~JumpListSeparator() {}
+
 public:
   JumpListSeparator() :
    JumpListItem(nsIJumpListItem::JUMPLIST_ITEM_SEPARATOR)
   {}
 
   NS_DECL_ISUPPORTS_INHERITED
   NS_IMETHOD GetType(int16_t *aType) { return JumpListItem::GetType(aType); }
   NS_IMETHOD Equals(nsIJumpListItem *item, bool *_retval) { return JumpListItem::Equals(item, _retval); }