| 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 49b3dbea18446ecdd49dc60e213f9f219e3293d8..c95a98d156c2bbde67145a1b72a41fe2b4dd339b 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
|
|
|