Bug 372729. Layout scrollbars before onload fires. r+sr=bzbarsky

This commit is contained in:
roc+%cs.cmu.edu 2007-03-08 01:37:06 +00:00
parent 431e5dbb2c
commit 800669d476

View File

@ -5911,11 +5911,11 @@ PresShell::ProcessReflowCommands(PRBool aInterruptible)
}
#endif
DidDoReflow();
// If there are no more reflow commands in the queue, we'll want
// to unblock onload.
DoneRemovingDirtyRoots();
DidDoReflow();
}
MOZ_TIMER_DEBUGLOG(("Stop: Reflow: PresShell::ProcessReflowCommands(), this=%p\n", this));