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

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

Issue 657453003: delete useThreading flag as it is always true (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix webkit_unit_tests Created 6 years, 2 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 | « Source/core/html/parser/HTMLDocumentParser.h ('k') | Source/core/html/parser/HTMLParserOptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLDocumentParser.cpp
diff --git a/Source/core/html/parser/HTMLDocumentParser.cpp b/Source/core/html/parser/HTMLDocumentParser.cpp
index 86578e8b43af6115d67cbfbb28b1c546c76cda79..9f19c32900f1b285a272b264def2d650190dc312 100644
--- a/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -106,8 +106,8 @@ private:
HTMLDocumentParser::HTMLDocumentParser(HTMLDocument& document, bool reportErrors)
: ScriptableDocumentParser(document)
, m_options(&document)
- , m_token(m_options.useThreading ? nullptr : adoptPtr(new HTMLToken))
- , m_tokenizer(m_options.useThreading ? nullptr : HTMLTokenizer::create(m_options))
+ , m_token(nullptr)
+ , m_tokenizer(nullptr)
, m_scriptRunner(HTMLScriptRunner::create(&document, this))
, m_treeBuilder(HTMLTreeBuilder::create(this, &document, parserContentPolicy(), reportErrors, m_options))
, m_parserScheduler(HTMLParserScheduler::create(this))
« no previous file with comments | « Source/core/html/parser/HTMLDocumentParser.h ('k') | Source/core/html/parser/HTMLParserOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698