зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
431d456e10
Коммит
e1ef46ba15
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче