Bug 499447. Don't restart our interrupted reflow until some time passes, to give system event processing a fair shot. r=bzbarsky

This commit is contained in:
Sylvain Pasche 2009-10-02 14:05:31 -04:00
Родитель 431d456e10
Коммит e1ef46ba15
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -7218,7 +7218,7 @@ PresShell::PostReflowEventOffTimer()
mReflowContinueTimer = do_CreateInstance("@mozilla.org/timer;1");
if (!mReflowContinueTimer ||
NS_FAILED(mReflowContinueTimer->
InitWithFuncCallback(sReflowContinueCallback, this, 0,
InitWithFuncCallback(sReflowContinueCallback, this, 30,
nsITimer::TYPE_ONE_SHOT))) {
return PR_FALSE;
}