| 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;
|
|
|