Bug 1038189 - Give JumpListLink a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 16:39:22 -0400
changeset 194248 7bad7ed33e06afcff13f801f7dd3d10c390e1e21
parent 194247 62243bd1ba2ef326058365d6443ac87981ea732e
child 194249 cd1bf52e81f80548905b7386be0279181359f24f
push id27142
push usercbook@mozilla.com
push dateWed, 16 Jul 2014 13:43:58 +0000
treeherdermozilla-central@450feb1d31e1 [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);