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

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

Issue 2666993006: Enable ParseHTMLOnMainThread on TOT (Closed)
Patch Set: clean up virtual test suites Created 3 years, 11 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
Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
index 24da4ff05919237d6ec07770f8491df6494b864d..08491fd4bda732ec3a1343c643871287856c5e6d 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
@@ -232,23 +232,6 @@ class CORE_EXPORT HTMLDocumentParser : public ScriptableDocumentParser,
void evaluateAndPreloadScriptForDocumentWrite(const String& source);
- // Temporary enum for the ParseHTMLOnMainThread experiment. This is used to
- // annotate whether a given task should post a task or not on the main thread
- // if the lookahead parser is living on the main thread.
- enum LookaheadParserTaskSynchrony {
- Synchronous,
- Asynchronous,
- };
-
- // Setting |synchronyPolicy| to Synchronous will just call the function with
- // the given parameters. Note, this method is completely temporary as we need
- // to maintain both threading implementations until the ParseHTMLOnMainThread
- // experiment finishes.
- template <typename FunctionType, typename... Ps>
- void postTaskToLookaheadParser(LookaheadParserTaskSynchrony synchronyPolicy,
- FunctionType,
- Ps&&... parameters);
-
HTMLToken& token() { return *m_token; }
HTMLParserOptions m_options;
« no previous file with comments | « third_party/WebKit/Source/core/frame/Settings.json5 ('k') | third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698