Bug 1301333 - mark XPCJSContext::Initialize as initialisation function for XPCJSContext. r=bobbyholley
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Fri, 16 Sep 2016 15:00:52 +0300
changeset 314804 6cf09a35f5295baef0706f63a80c308abdfd4594
parent 314803 c15e4f47777ef160dacacd9dfce9cc1186213ac8
child 314805 b2b7cbb3efe4a6d2e05ac38ba63c5b5fc7dda1a8
push id30735
push usercbook@mozilla.com
push dateThu, 22 Sep 2016 09:55:35 +0000
treeherdermozilla-central@f0e6cc636021 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbobbyholley
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 XPCJSContext::Initialize as initialisation function for XPCJSContext. r=bobbyholley MozReview-Commit-ID: HYj244xg1VD
js/xpconnect/src/xpcprivate.h
--- a/js/xpconnect/src/xpcprivate.h
+++ b/js/xpconnect/src/xpcprivate.h
@@ -588,16 +588,17 @@ public:
     PRTime GetWatchdogTimestamp(WatchdogTimestampCategory aCategory);
 
     nsresult GetPendingResult() { return mPendingResult; }
     void SetPendingResult(nsresult rv) { mPendingResult = rv; }
 
 private:
     XPCJSContext();
 
+    MOZ_IS_CLASS_INIT
     nsresult Initialize();
 
     void ReleaseIncrementally(nsTArray<nsISupports*>& array);
 
     static const char* const mStrings[IDX_TOTAL_COUNT];
     jsid mStrIDs[IDX_TOTAL_COUNT];
     JS::Value mStrJSVals[IDX_TOTAL_COUNT];