Bug 1038204 - Make two destructors in the Windows print GUI code private; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 15:00:15 -0400
changeset 216154 d7b43c5df9502e885b5983c5a01e46a55b74d997
parent 216153 8caf7ffcd9324dd66025593376f4e5d362562080
child 216155 cb31297625faa3d6bd0d9396b53259d1287737f6
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
bugs1038204
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 1038204 - Make two destructors in the Windows print GUI code private; r=bjacob
embedding/components/printingui/src/win/nsPrintProgressParams.h
embedding/components/printingui/src/win/nsPrintingPromptService.h
--- a/embedding/components/printingui/src/win/nsPrintProgressParams.h
+++ b/embedding/components/printingui/src/win/nsPrintProgressParams.h
@@ -6,21 +6,22 @@
 #ifndef __nsPrintProgressParams_h
 #define __nsPrintProgressParams_h
 
 #include "nsIPrintProgressParams.h"
 #include "nsString.h"
 
 class nsPrintProgressParams : public nsIPrintProgressParams
 {
+	virtual ~nsPrintProgressParams();
+
 public: 
 	NS_DECL_ISUPPORTS
   NS_DECL_NSIPRINTPROGRESSPARAMS
 
 	nsPrintProgressParams();
-	virtual ~nsPrintProgressParams();
 
 private:
   nsString mDocTitle;
   nsString mDocURL;
 };
 
 #endif
--- a/embedding/components/printingui/src/win/nsPrintingPromptService.h
+++ b/embedding/components/printingui/src/win/nsPrintingPromptService.h
@@ -25,19 +25,20 @@
 #include "nsIWebProgressListener.h"
 
 class nsIDOMWindow;
 class nsIDialogParamBlock;
 
 class nsPrintingPromptService: public nsIPrintingPromptService,
                                public nsIWebProgressListener
 {
+    virtual ~nsPrintingPromptService();
+
 public:
     nsPrintingPromptService();
-    virtual ~nsPrintingPromptService();
 
     nsresult Init();
 
     NS_DECL_ISUPPORTS
     NS_DECL_NSIPRINTINGPROMPTSERVICE
     NS_DECL_NSIWEBPROGRESSLISTENER
 
 private: