Bug 1038204 - Make two destructors in the Windows print GUI code private; r=bjacob

This commit is contained in:
Ehsan Akhgari 2014-07-15 15:00:15 -04:00
parent 1bdd0ff61d
commit 9750c2acae
2 changed files with 4 additions and 2 deletions

View File

@ -11,12 +11,13 @@
class nsPrintProgressParams : public nsIPrintProgressParams
{
virtual ~nsPrintProgressParams();
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPRINTPROGRESSPARAMS
nsPrintProgressParams();
virtual ~nsPrintProgressParams();
private:
nsString mDocTitle;

View File

@ -30,9 +30,10 @@ class nsIDialogParamBlock;
class nsPrintingPromptService: public nsIPrintingPromptService,
public nsIWebProgressListener
{
virtual ~nsPrintingPromptService();
public:
nsPrintingPromptService();
virtual ~nsPrintingPromptService();
nsresult Init();