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

Unified Diff: Source/core/html/TextDocument.cpp

Issue 779393002: Turn DocumentParser::pinToMainThread into a cleaner api (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « Source/core/dom/DocumentParser.h ('k') | Source/core/html/imports/HTMLImportLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TextDocument.cpp
diff --git a/Source/core/html/TextDocument.cpp b/Source/core/html/TextDocument.cpp
index 235aac78a6331906105d474e4b538c9c69dc53fc..48c7355a7d988e37fcd589f4d1b5e8893e967b28 100644
--- a/Source/core/html/TextDocument.cpp
+++ b/Source/core/html/TextDocument.cpp
@@ -38,7 +38,7 @@ TextDocument::TextDocument(const DocumentInit& initializer)
PassRefPtrWillBeRawPtr<DocumentParser> TextDocument::createParser()
{
- return TextDocumentParser::create(*this);
+ return TextDocumentParser::create(*this, parserSynchronizationPolicy());
}
}
« no previous file with comments | « Source/core/dom/DocumentParser.h ('k') | Source/core/html/imports/HTMLImportLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698