| 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 08491fd4bda732ec3a1343c643871287856c5e6d..eb2e69e8aa832cb9597bfbb08113c72d4cb0885e 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
|
| @@ -71,7 +71,6 @@ class DocumentWriteEvaluator;
|
| class CORE_EXPORT HTMLDocumentParser : public ScriptableDocumentParser,
|
| private HTMLParserScriptRunnerHost {
|
| USING_GARBAGE_COLLECTED_MIXIN(HTMLDocumentParser);
|
| - USING_PRE_FINALIZER(HTMLDocumentParser, dispose);
|
|
|
| public:
|
| static HTMLDocumentParser* create(
|
| @@ -82,9 +81,6 @@ class CORE_EXPORT HTMLDocumentParser : public ScriptableDocumentParser,
|
| ~HTMLDocumentParser() override;
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| - // TODO(alexclarke): Remove when background parser goes away.
|
| - void dispose();
|
| -
|
| // Exposed for HTMLParserScheduler
|
| void resumeParsingAfterYield();
|
|
|
| @@ -189,7 +185,6 @@ class CORE_EXPORT HTMLDocumentParser : public ScriptableDocumentParser,
|
| void appendCurrentInputStreamToPreloadScannerAndScan() final;
|
|
|
| void startBackgroundParser();
|
| - void stopBackgroundParser();
|
| void validateSpeculations(std::unique_ptr<TokenizedChunk> lastChunk);
|
| void discardSpeculationsAndResumeFrom(
|
| std::unique_ptr<TokenizedChunk> lastChunk,
|
| @@ -247,7 +242,6 @@ class CORE_EXPORT HTMLDocumentParser : public ScriptableDocumentParser,
|
| // A scanner used only for input provided to the insert() method.
|
| std::unique_ptr<HTMLPreloadScanner> m_insertionPreloadScanner;
|
|
|
| - RefPtr<WebTaskRunner> m_loadingTaskRunner;
|
| Member<HTMLParserScheduler> m_parserScheduler;
|
| HTMLSourceTracker m_sourceTracker;
|
| TextPosition m_textPosition;
|
| @@ -259,8 +253,7 @@ class CORE_EXPORT HTMLDocumentParser : public ScriptableDocumentParser,
|
| // and passed between threads together.
|
| std::unique_ptr<TokenizedChunk> m_lastChunkBeforePause;
|
| Deque<std::unique_ptr<TokenizedChunk>> m_speculations;
|
| - WeakPtrFactory<HTMLDocumentParser> m_weakFactory;
|
| - WeakPtr<BackgroundHTMLParser> m_backgroundParser;
|
| + Member<BackgroundHTMLParser> m_backgroundParser;
|
| Member<HTMLResourcePreloader> m_preloader;
|
| PreloadRequestStream m_queuedPreloads;
|
| Vector<String> m_queuedDocumentWriteScripts;
|
| @@ -279,7 +272,6 @@ class CORE_EXPORT HTMLDocumentParser : public ScriptableDocumentParser,
|
|
|
| bool m_shouldUseThreading;
|
| bool m_endWasDelayed;
|
| - bool m_haveBackgroundParser;
|
| bool m_tasksWereSuspended;
|
| unsigned m_pumpSessionNestingLevel;
|
| unsigned m_pumpSpeculationsSessionNestingLevel;
|
|
|