Bug 1301333 - Add mark-initialisation-func annotation to function Init from PresentationReceiver. r=baku
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Fri, 14 Oct 2016 17:18:26 +0300
changeset 318161 50d3ed5433afe692df945aee17060e547d98a3e1
parent 318160 2b08765d5eb69857ff3421951310ba501d4f6812
child 318162 0151fc9f97a22552499a49e81fd377516e3eb616
push id33211
push usercbook@mozilla.com
push dateMon, 17 Oct 2016 09:38:38 +0000
treeherderautoland@e4ef6fa03aa8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
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 - Add mark-initialisation-func annotation to function Init from PresentationReceiver. r=baku MozReview-Commit-ID: JNCBpgHjhs1
dom/presentation/PresentationReceiver.h
--- a/dom/presentation/PresentationReceiver.h
+++ b/dom/presentation/PresentationReceiver.h
@@ -38,17 +38,17 @@ public:
   // WebIDL (public APIs)
   already_AddRefed<Promise> GetConnectionList(ErrorResult& aRv);
 
 private:
   explicit PresentationReceiver(nsPIDOMWindowInner* aWindow);
 
   virtual ~PresentationReceiver();
 
-  bool Init();
+  MOZ_IS_CLASS_INIT bool Init();
 
   void Shutdown();
 
   void CreateConnectionList();
 
   // Store the inner window ID for |UnregisterRespondingListener| call in
   // |Shutdown| since the inner window may not exist at that moment.
   uint64_t mWindowId;