Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp

Issue 2065163005: ParseHTMLOnMainThread: notify main thread of chunks less frequently (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a setting to the experiment Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
index 23d77389115ddb12e8372eb3130f683617a86f38..9bff3174f8c8f6e52f212064c8efa52098f3588e 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -741,6 +741,7 @@ void HTMLDocumentParser::startBackgroundParser()
config->outstandingTokenLimit = document()->settings()->backgroundHtmlParserOutstandingTokenLimit();
if (document()->settings()->backgroundHtmlParserPendingTokenLimit())
config->pendingTokenLimit = document()->settings()->backgroundHtmlParserPendingTokenLimit();
+ config->shouldCoalesceChunks = document()->settings()->parseHTMLOnMainThreadCoalesceChunks();
}
ASSERT(config->xssAuditor->isSafeToSendToAnotherThread());
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698