Fixes non idle timers. This is fixes a regression caused by the last timer changes. r=rpotts@netscape.com, sr-darin@netscape.com, b=167841.

This commit is contained in:
dougt@netscape.com
2002-09-20 22:32:32 +00:00
parent e4b5650b1d
commit 0ffeeba6b7
5 changed files with 6 additions and 6 deletions

View File

@@ -2896,7 +2896,7 @@ PresShell::InitialReflow(nscoord aWidth, nscoord aHeight)
prefs->GetIntPref("nglayout.initialpaint.delay", &delay);
nsCOMPtr<nsITimerInternal> ti = do_QueryInterface(mPaintSuppressionTimer);
ti->SetIdle(PR_TRUE);
ti->SetIdle(PR_FALSE);
mPaintSuppressionTimer->InitWithFuncCallback(sPaintSuppressionCallback, this, delay,
nsITimer::TYPE_ONE_SHOT);