| Index: third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| index 2c9759fc1312640eeb66055b6401d6f147ddfaeb..458c988b8e13becae1c3ed6b46442537be70ddb1 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| @@ -291,6 +291,8 @@ void BackgroundHTMLParser::pumpTokenizer() {
|
| m_token->clear();
|
|
|
| if (simulatedToken == HTMLTreeBuilderSimulator::ScriptEnd ||
|
| + simulatedToken == HTMLTreeBuilderSimulator::StyleEnd ||
|
| + simulatedToken == HTMLTreeBuilderSimulator::Link ||
|
| m_pendingTokens->size() >= m_pendingTokenLimit) {
|
| shouldNotifyMainThread |= queueChunkForMainThread();
|
| // If we're far ahead of the main thread, yield for a bit to avoid
|
|
|