Bug 1301333 - mark ImageBridgeThread::Init as initialisation function for ImageBridgeThread. r=jrmuizel
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Fri, 16 Sep 2016 17:09:56 +0300
changeset 314224 caa8a9c7d1223eda20bb5fa91d57750d5e1ba6e3
parent 314223 c0021d576b3a738e055b0c1c6608823038cba3a0
child 314225 f0283d52d9caa7e58aa3b7c5a3dc25da3e80ca58
push id81823
push userbpostelnicu@mozilla.com
push dateFri, 16 Sep 2016 14:14:58 +0000
treeherdermozilla-inbound@caa8a9c7d122 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1301333
milestone51.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 1301333 - mark ImageBridgeThread::Init as initialisation function for ImageBridgeThread. r=jrmuizel MozReview-Commit-ID: 4mveFlHumVE
gfx/layers/ipc/ImageBridgeChild.cpp
--- a/gfx/layers/ipc/ImageBridgeChild.cpp
+++ b/gfx/layers/ipc/ImageBridgeChild.cpp
@@ -64,16 +64,17 @@ namespace {
 class ImageBridgeThread : public Thread {
 public:
 
   ImageBridgeThread() : Thread("ImageBridgeChild") {
   }
 
 protected:
 
+  MOZ_IS_CLASS_INIT
   void Init() {
 #ifdef MOZ_ENABLE_PROFILER_SPS
     mPseudoStackHack = mozilla_get_pseudo_stack();
 #endif
   }
 
   void CleanUp() {
 #ifdef MOZ_ENABLE_PROFILER_SPS