Bug 1040039 - Give nsMIMEInfoWin a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 17 Jul 2014 16:48:30 -0400
changeset 194813 ffa321eb4575b5f01ba5876cf4768360bc999cdf
parent 194812 7dcb7b833e5c00f21bf5fc30d88feee66c3d35f3
child 194814 415c6545336872702b3307e4fa14efdec6630bb1
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersbjacob
bugs1040039
milestone33.0a1
Bug 1040039 - Give nsMIMEInfoWin a private destructor; r=bjacob
uriloader/exthandler/win/nsMIMEInfoWin.h
--- a/uriloader/exthandler/win/nsMIMEInfoWin.h
+++ b/uriloader/exthandler/win/nsMIMEInfoWin.h
@@ -6,22 +6,23 @@
 #define nsMIMEInfoWin_h_
 
 #include "nsMIMEInfoImpl.h"
 #include "nsIPropertyBag.h"
 #include "nsIMutableArray.h"
 #include "nsTArray.h"
 
 class nsMIMEInfoWin : public nsMIMEInfoBase, public nsIPropertyBag {
+    virtual ~nsMIMEInfoWin();
+
   public:
     nsMIMEInfoWin(const char* aType = "") : nsMIMEInfoBase(aType) {}
     nsMIMEInfoWin(const nsACString& aMIMEType) : nsMIMEInfoBase(aMIMEType) {}
     nsMIMEInfoWin(const nsACString& aType, HandlerClass aClass) :
       nsMIMEInfoBase(aType, aClass) {}
-    virtual ~nsMIMEInfoWin();
 
     NS_IMETHOD LaunchWithFile(nsIFile* aFile);
     NS_IMETHOD GetHasDefaultHandler(bool * _retval);
     NS_IMETHOD GetPossibleLocalHandlers(nsIArray **_retval); 
 
     NS_DECL_ISUPPORTS_INHERITED
     NS_DECL_NSIPROPERTYBAG