Bug 562635 - Set the initial flush timer delay to equal the subsequent delay. r=jonas.

This commit is contained in:
Henri Sivonen 2010-04-29 14:22:27 +03:00
parent a24406dc4e
commit 71ad2c794f
2 changed files with 3 additions and 3 deletions

View File

@ -2880,7 +2880,7 @@ pref("html5.offmainthread", true);
// Time in milliseconds between the time a network buffer is seen and the
// timer firing when the timer hasn't fired previously in this parse in the
// off-the-main-thread HTML5 parser.
pref("html5.flushtimer.initialdelay", 200);
pref("html5.flushtimer.initialdelay", 120);
// Time in milliseconds between the time a network buffer is seen and the
// timer firing when the timer has already fired previously in this parse.
pref("html5.flushtimer.subsequentdelay", 120);

View File

@ -54,8 +54,8 @@
static NS_DEFINE_CID(kCharsetAliasCID, NS_CHARSETALIAS_CID);
PRInt32 nsHtml5StreamParser::sTimerInitialDelay = 200;
PRInt32 nsHtml5StreamParser::sTimerSubsequentDelay = 100;
PRInt32 nsHtml5StreamParser::sTimerInitialDelay = 120;
PRInt32 nsHtml5StreamParser::sTimerSubsequentDelay = 120;
// static
void