Bug 1301333 - mark InitIPDL as initialisation function for VideoDecoderChild. r=cpearce
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Tue, 27 Sep 2016 15:02:43 +0300
changeset 315815 b6f0cf0441ddd6b527ca8fae504c4af055ea7040
parent 315727 cb3ef16e764888c5b470e423b6af38572f0d2d6f
child 315816 f54d698d7de7c83e65d365eed3d10dc775be9884
push id20634
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:10:13 +0000
treeherderfx-team@afe79b010d13 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1301333
milestone52.0a1
Bug 1301333 - mark InitIPDL as initialisation function for VideoDecoderChild. r=cpearce MozReview-Commit-ID: 7xkkoS5Q7t
dom/media/ipc/VideoDecoderChild.h
--- a/dom/media/ipc/VideoDecoderChild.h
+++ b/dom/media/ipc/VideoDecoderChild.h
@@ -35,16 +35,17 @@ public:
   void ActorDestroy(ActorDestroyReason aWhy) override;
 
   RefPtr<MediaDataDecoder::InitPromise> Init();
   void Input(MediaRawData* aSample);
   void Flush();
   void Drain();
   void Shutdown();
 
+  MOZ_IS_CLASS_INIT
   void InitIPDL(MediaDataDecoderCallback* aCallback,
                 const VideoInfo& aVideoInfo,
                 layers::LayersBackend aLayersBackend);
   void DestroyIPDL();
 
   // Called from IPDL when our actor has been destroyed
   void IPDLActorDestroyed();