diff --git a/dom/base/nsJSEnvironment.cpp b/dom/base/nsJSEnvironment.cpp index e521b23113ee..44e1aeb0fa80 100644 --- a/dom/base/nsJSEnvironment.cpp +++ b/dom/base/nsJSEnvironment.cpp @@ -1904,16 +1904,16 @@ void nsJSContext::RunNextCollectorTimer(JS::GCReason aReason, // anything if a GC is in progress. MOZ_ASSERT(!sCCLockedOut, "Don't check the CC timers if the CC is locked out."); - } - if (sCCRunner) { - sCCRunner->SetDeadline(aDeadline); - runnable = sCCRunner; - } + if (sCCRunner) { + sCCRunner->SetDeadline(aDeadline); + runnable = sCCRunner; + } - if (sICCRunner) { - sICCRunner->SetDeadline(aDeadline); - runnable = sICCRunner; + if (sICCRunner) { + sICCRunner->SetDeadline(aDeadline); + runnable = sICCRunner; + } } if (runnable) {