Bug 1038171 - Give JumpListItem a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 14:56:36 -0400
changeset 216148 9beef470de57e8b24cb8869147c1fedf274c280b
parent 216147 dce91a62ea3e3813a6bc7d3d3139737bf6c4dc3b
child 216149 d5cbd531e89e7335a7d2c1a317aadc1bb8f6d592
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs1038171
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 1038171 - Give JumpListItem a private destructor; r=bjacob
widget/windows/JumpListItem.h
--- a/widget/windows/JumpListItem.h
+++ b/widget/windows/JumpListItem.h
@@ -32,25 +32,25 @@ public:
   JumpListItem() :
    mItemType(nsIJumpListItem::JUMPLIST_ITEM_EMPTY)
   {}
 
   JumpListItem(int32_t type) :
    mItemType(type)
   {}
 
-  virtual ~JumpListItem() 
-  {}
-
   NS_DECL_ISUPPORTS
   NS_DECL_NSIJUMPLISTITEM
 
   static const char kJumpListCacheDir[];
 
 protected:
+  virtual ~JumpListItem()
+  {}
+
   short Type() { return mItemType; }
   short mItemType;
 
 };
 
 class JumpListSeparator : public JumpListItem, public nsIJumpListSeparator
 {
 public: