Bug 1038166 - Give nsFilePicker a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 16:40:41 -0400
changeset 194251 938a850163a2b1d427e2df9a108f85b7c34117ff
parent 194250 b6928e5e90d8dcfdd99135a9553549215d05576f
child 194252 b5a4084258946837a46e4a7188e5d4d74378b79d
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
bugs1038166
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 1038166 - Give nsFilePicker a private destructor; r=bjacob
widget/windows/nsFilePicker.h
--- a/widget/windows/nsFilePicker.h
+++ b/widget/windows/nsFilePicker.h
@@ -52,19 +52,19 @@ protected:
 /**
  * Native Windows FileSelector wrapper
  */
 
 class nsFilePicker :
   public IFileDialogEvents,
   public nsBaseWinFilePicker
 {
+  virtual ~nsFilePicker();
 public:
   nsFilePicker(); 
-  virtual ~nsFilePicker();
 
   NS_IMETHOD Init(nsIDOMWindow *aParent, const nsAString& aTitle, int16_t aMode);
                   
   NS_DECL_ISUPPORTS
   
   // IUnknown's QueryInterface
   STDMETHODIMP QueryInterface(REFIID refiid, void** ppvResult);