Bug 1038189 - Give JumpListLink a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 16:39:22 -0400
changeset 216166 7bad7ed33e06afcff13f801f7dd3d10c390e1e21
parent 216165 62243bd1ba2ef326058365d6443ac87981ea732e
child 216167 cd1bf52e81f80548905b7386be0279181359f24f
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
bugs1038189
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 1038189 - Give JumpListLink a private destructor; r=bjacob
widget/windows/JumpListItem.h
--- a/widget/windows/JumpListItem.h
+++ b/widget/windows/JumpListItem.h
@@ -62,16 +62,18 @@ public:
   NS_IMETHOD GetType(int16_t *aType) { return JumpListItem::GetType(aType); }
   NS_IMETHOD Equals(nsIJumpListItem *item, bool *_retval) { return JumpListItem::Equals(item, _retval); }
 
   static nsresult GetSeparator(nsRefPtr<IShellLinkW>& aShellLink);
 };
 
 class JumpListLink : public JumpListItem, public nsIJumpListLink
 {
+  ~JumpListLink() {}
+
 public:
   JumpListLink() :
    JumpListItem(nsIJumpListItem::JUMPLIST_ITEM_LINK)
   {}
 
   NS_DECL_ISUPPORTS_INHERITED
   NS_IMETHOD GetType(int16_t *aType) { return JumpListItem::GetType(aType); }
   NS_IMETHOD Equals(nsIJumpListItem *item, bool *_retval);