Bug 806433 - Make mReleaseRunnable a ref ptr. r=smaug

This commit is contained in:
Andrew McCreight 2012-10-30 20:01:31 -07:00
parent 77f0ca6ea2
commit 0c7c1a6f53
2 changed files with 1 additions and 2 deletions

View File

@ -2362,7 +2362,6 @@ XPCJSRuntime::XPCJSRuntime(nsXPConnect* aXPConnect)
mWatchdogThread(nullptr),
mWatchdogHibernating(false),
mLastActiveTime(-1),
mReleaseRunnable(nullptr),
mExceptionManagerNotAvailable(false)
{
#ifdef XPC_CHECK_WRAPPERS_AT_SHUTDOWN

View File

@ -965,7 +965,7 @@ private:
nsTArray<JSGCCallback> extraGCCallbacks;
bool mWatchdogHibernating;
PRTime mLastActiveTime; // -1 if active NOW
XPCIncrementalReleaseRunnable *mReleaseRunnable;
nsRefPtr<XPCIncrementalReleaseRunnable> mReleaseRunnable;
js::GCSliceCallback mPrevGCSliceCallback;
nsCOMPtr<nsIException> mPendingException;