delay = mNotificationInterval;
delay = GetNotificationInterval();
HTMLContentSink::WillInterrupt(){  nsresult result = NS_OK;  SINK_TRACE(SINK_TRACE_CALLS,             ("HTMLContentSink::WillInterrupt: this=%p", this));#ifdef SINK_NO_INCREMENTAL  return NS_OK;#else  if (mNotifyOnTimer && mLayoutStarted) {    if (mBackoffCount && !mInMonolithicContainer) {      PRTime now = PR_Now();      PRInt64 interval, diff;      PRInt32 delay;            LL_I2L(interval, mNotificationInterval);      LL_SUB(diff, now, mLastNotificationTime);            // If it's already time for us to have a notification      if (LL_CMP(diff, >, interval)) {        mBackoffCount--;        SINK_TRACE(SINK_TRACE_REFLOW,                 ("HTMLContentSink::WillInterrupt: flushing tags since we've run out time; backoff count: %d", mBackoffCount));        result = mCurrentContext->FlushTags(PR_TRUE);      }      else {        // If the time since the last notification is less than        // the expected interval but positive, set a timer up for the remaining        // interval.        if (LL_CMP(diff, >, LL_ZERO)) {          LL_SUB(diff, interval, diff);          LL_L2I(delay, diff);        }        // Else set up a timer for the expected interval        else {          delay = mNotificationInterval;        }                // Convert to milliseconds        delay /= PR_USEC_PER_MSEC;                // Cancel a timer if we had one out there        if (mNotificationTimer) {          SINK_TRACE(SINK_TRACE_REFLOW,                     ("HTMLContentSink::WillInterrupt: canceling notification timeout"));          mNotificationTimer->Cancel();        }                mNotificationTimer = do_CreateInstance("@mozilla.org/timer;1", &result);        if (NS_SUCCEEDED(result)) {          SINK_TRACE(SINK_TRACE_REFLOW,                     ("HTMLContentSink::WillInterrupt: setting up timer with delay %d", delay));                    result = mNotificationTimer->Init(this, delay);        }      }    }  }  else {    SINK_TRACE(SINK_TRACE_REFLOW,               ("HTMLContentSink::WillInterrupt: flushing tags unconditionally"));    result = mCurrentContext->FlushTags(PR_TRUE);  }  return result;#endif}