| 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 2a540621a2a98429883110ece73ceb5f7c58a148..e83f3bbd6411bb80acc842efc99330e4db6cc7de 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
|
| @@ -69,6 +69,7 @@ class TokenizedChunkQueue;
|
|
|
| class HTMLDocumentParser : public ScriptableDocumentParser, private HTMLScriptRunnerHost {
|
| USING_GARBAGE_COLLECTED_MIXIN(HTMLDocumentParser);
|
| + USING_PRE_FINALIZER(HTMLDocumentParser, dispose);
|
| public:
|
| static HTMLDocumentParser* create(HTMLDocument& document, ParserSynchronizationPolicy backgroundParsingPolicy)
|
| {
|
| @@ -77,6 +78,9 @@ public:
|
| ~HTMLDocumentParser() override;
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| + // TODO(alexclarke): Remove when background parser goes away.
|
| + void dispose();
|
| +
|
| // Exposed for HTMLParserScheduler
|
| void resumeParsingAfterYield();
|
|
|
|
|