Bug 551344 part 1 - Address sicking's review comments in nsHtml5Parser.cpp. r=jonas.

This commit is contained in:
Henri Sivonen
2010-03-15 14:04:41 +02:00
parent 611516e318
commit b1663de57d
4 changed files with 99 additions and 90 deletions

View File

@@ -1024,7 +1024,6 @@ nsHtml5StreamParser::TimerFlush()
// that case would make the tree shape dependent on where the flush points
// fall.
if (mTreeBuilder->IsDiscretionaryFlushSafe()) {
mTreeBuilder->flushCharacters();
if (mTreeBuilder->Flush()) {
if (NS_FAILED(NS_DispatchToMainThread(mExecutorFlusher))) {
NS_WARNING("failed to dispatch executor flush event");