From e1ef46ba159d2a14e5d0d023bbe6cf7c3b390faa Mon Sep 17 00:00:00 2001 From: Sylvain Pasche Date: Fri, 2 Oct 2009 14:05:31 -0400 Subject: [PATCH] Bug 499447. Don't restart our interrupted reflow until some time passes, to give system event processing a fair shot. r=bzbarsky --- layout/base/nsPresShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp index ff2f47fd13a2..bfcb4e0d5ba2 100644 --- a/layout/base/nsPresShell.cpp +++ b/layout/base/nsPresShell.cpp @@ -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; }