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

Unified Diff: Source/core/html/parser/TextDocumentParser.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
Index: Source/core/html/parser/TextDocumentParser.cpp
diff --git a/Source/core/html/parser/TextDocumentParser.cpp b/Source/core/html/parser/TextDocumentParser.cpp
index bc7c5b063bfbe2039210449eaa24f1fbad8ac743..4db67fa26453015794b67d5071d5fb543b7ef5e9 100644
--- a/Source/core/html/parser/TextDocumentParser.cpp
+++ b/Source/core/html/parser/TextDocumentParser.cpp
@@ -27,13 +27,14 @@
#include "core/HTMLNames.h"
#include "core/html/parser/HTMLTreeBuilder.h"
+#include "core/html/parser/ParserSynchronizationPolicy.h"
namespace blink {
using namespace HTMLNames;
TextDocumentParser::TextDocumentParser(HTMLDocument& document)
- : HTMLDocumentParser(document, false)
+ : HTMLDocumentParser(document, false, AllowAsynchronousParsing)
, m_haveInsertedFakePreElement(false)
{
}

Powered by Google App Engine
This is Rietveld 408576698