Bug 913881, part 1 - Remove unused method nsCycleCollector::Runtime. r=smaug
authorAndrew McCreight <continuation@gmail.com>
Tue, 10 Sep 2013 08:56:35 -0700
changeset 146436 431aa2871160c2498b0d6ee6bb84f74e5eb5aaa0
parent 146435 33e3cbca04379cc6c52356c5e10c4f8331790f0d
child 146437 50f93200b17607796f95476e4e251310335af888
push id25260
push userryanvm@gmail.com
push dateWed, 11 Sep 2013 00:29:30 +0000
treeherdermozilla-central@f73bed2856a8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs913881
milestone26.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 913881, part 1 - Remove unused method nsCycleCollector::Runtime. r=smaug
xpcom/base/nsCycleCollector.cpp
--- a/xpcom/base/nsCycleCollector.cpp
+++ b/xpcom/base/nsCycleCollector.cpp
@@ -932,22 +932,16 @@ private:
 
     uint32_t mUnmergedNeeded;
     uint32_t mMergedInARow;
 
 public:
     void RegisterJSRuntime(CycleCollectedJSRuntime *aJSRuntime);
     void ForgetJSRuntime();
 
-    inline CycleCollectedJSRuntime*
-    JSRuntime() const
-    {
-        return mJSRuntime;
-    }
-
     void SetBeforeUnlinkCallback(CC_BeforeUnlinkCallback aBeforeUnlinkCB)
     {
         CheckThreadSafety();
         mBeforeUnlinkCB = aBeforeUnlinkCB;
     }
 
     void SetForgetSkippableCallback(CC_ForgetSkippableCallback aForgetSkippableCB)
     {