| 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 152defdd0dc07dff6417ef9503560f945bfb48e7..6282ff838b5b47365994d071aad26a4dcec37445 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
|
|
|