Bug 1038202 - Give MSCOMInitThreadPoolListener a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 16:37:33 -0400
changeset 216162 9fe475d50fee328241f9cba64b2ef53d6f3f756c
parent 216161 f4592864c9828ef3e7be37b42c8f19d2ab8abffe
child 216163 2e967076c3e6c2967a74f551ffdf0196cdfc8e84
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
bugs1038202
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 1038202 - Give MSCOMInitThreadPoolListener a private destructor; r=bjacob
content/media/SharedThreadPool.cpp
--- a/content/media/SharedThreadPool.cpp
+++ b/content/media/SharedThreadPool.cpp
@@ -188,16 +188,18 @@ SharedThreadPool::~SharedThreadPool()
 }
 
 #ifdef XP_WIN
 
 // Thread pool listener which ensures that MSCOM is initialized and
 // deinitialized on the thread pool thread. We may call into WMF or
 // DirectShow on this thread, so we need MSCOM working.
 class MSCOMInitThreadPoolListener MOZ_FINAL : public nsIThreadPoolListener {
+  ~MSCOMInitThreadPoolListener() {}
+
 public:
   NS_DECL_THREADSAFE_ISUPPORTS
   NS_DECL_NSITHREADPOOLLISTENER
 };
 
 NS_IMPL_ISUPPORTS(MSCOMInitThreadPoolListener, nsIThreadPoolListener)
 
 NS_IMETHODIMP