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 315807 b6f0cf0441ddd6b527ca8fae504c4af055ea7040
parent 315726 cb3ef16e764888c5b470e423b6af38572f0d2d6f
child 315808 f54d698d7de7c83e65d365eed3d10dc775be9884
push id30757
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:02:43 +0000
treeherdermozilla-central@5ffed033557e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1301333
milestone52.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 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();