Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen

This commit is contained in:
Olli Pettay
2012-05-23 15:55:13 +03:00
parent 12a4ec9a47
commit ba69e2c9f0
5 changed files with 69 additions and 10 deletions

View File

@@ -157,7 +157,9 @@ class nsHtml5ExecutorFlusher : public nsRunnable
{}
NS_IMETHODIMP Run()
{
mExecutor->RunFlushLoop();
if (!mExecutor->isInList()) {
mExecutor->RunFlushLoop();
}
return NS_OK;
}
};