Bug 1301333 - mark Initialize as initialisation function for CycleCollectedJSContext. r=mccr8
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Fri, 16 Sep 2016 13:31:37 +0300
changeset 314708 f9db96226c0c09729de0ea3a8418480c46cf9852
parent 314707 e2e14420350f79c3af2ff7e5fb727fdfc2ab6c3e
child 314709 b3cc2b2d346c0e1835be484be4bf1fd82a089500
push id30733
push usercbook@mozilla.com
push dateThu, 22 Sep 2016 09:50:59 +0000
treeherdermozilla-central@4aa20c3e211f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmccr8
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 Initialize as initialisation function for CycleCollectedJSContext. r=mccr8 MozReview-Commit-ID: BRO2gsJRNjk
xpcom/base/CycleCollectedJSContext.h
--- a/xpcom/base/CycleCollectedJSContext.h
+++ b/xpcom/base/CycleCollectedJSContext.h
@@ -138,16 +138,17 @@ class CycleCollectedJSContext
 {
   friend class JSGCThingParticipant;
   friend class JSZoneParticipant;
   friend class IncrementalFinalizeRunnable;
 protected:
   CycleCollectedJSContext();
   virtual ~CycleCollectedJSContext();
 
+  MOZ_IS_CLASS_INIT
   nsresult Initialize(JSContext* aParentContext,
                       uint32_t aMaxBytes,
                       uint32_t aMaxNurseryBytes);
 
   size_t SizeOfExcludingThis(mozilla::MallocSizeOf aMallocSizeOf) const;
   void UnmarkSkippableJSHolders();
 
   virtual void