Bug 1301333 - Add mark-initialisation-func annotation to functions Init and DoInitOnMainThread from GetUsageOp. r=baku
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Tue, 18 Oct 2016 12:57:57 +0300
changeset 318380 5bc34a1ebba2718a3516ab95207be13048c62d8f
parent 318379 956f4eff32d2ee80ae9c4ca9f58e2ca2f30a352f
child 318381 512ee9dd9a4018dd31cfbb11f74d8214e4462e48
push id82903
push userbpostelnicu@mozilla.com
push dateTue, 18 Oct 2016 11:42:38 +0000
treeherdermozilla-inbound@5bc34a1ebba2 [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 functions Init and DoInitOnMainThread from GetUsageOp. r=baku MozReview-Commit-ID: KKUX4FE0pth
dom/quota/ActorsParent.cpp
--- a/dom/quota/ActorsParent.cpp
+++ b/dom/quota/ActorsParent.cpp
@@ -1017,24 +1017,24 @@ class GetUsageOp final
   nsCString mSuffix;
   nsCString mGroup;
   bool mIsApp;
   bool mGetGroupUsage;
 
 public:
   explicit GetUsageOp(const UsageRequestParams& aParams);
 
-  bool
+  MOZ_IS_CLASS_INIT bool
   Init(Quota* aQuota);
 
 private:
   ~GetUsageOp()
   { }
 
-  virtual nsresult
+  MOZ_IS_CLASS_INIT virtual nsresult
   DoInitOnMainThread() override;
 
   nsresult
   AddToUsage(QuotaManager* aQuotaManager,
              PersistenceType aPersistenceType);
 
   virtual nsresult
   DoDirectoryWork(QuotaManager* aQuotaManager) override;