| Index: sky/engine/core/html/parser/HTMLDocumentParser.h
|
| diff --git a/sky/engine/core/html/parser/HTMLDocumentParser.h b/sky/engine/core/html/parser/HTMLDocumentParser.h
|
| index a7f02c2b47c7775ee4ae5477ba186fb1589b2879..03542a1e953a68e2ab77f66869e3d7acefffb852 100644
|
| --- a/sky/engine/core/html/parser/HTMLDocumentParser.h
|
| +++ b/sky/engine/core/html/parser/HTMLDocumentParser.h
|
| @@ -27,7 +27,7 @@
|
| #define HTMLDocumentParser_h
|
|
|
| #include "base/memory/weak_ptr.h"
|
| -#include "core/dom/DecodedDataDocumentParser.h"
|
| +#include "core/dom/DocumentParser.h"
|
| #include "core/fetch/ResourceClient.h"
|
| #include "core/frame/UseCounter.h"
|
| #include "core/html/parser/CompactHTMLToken.h"
|
| @@ -57,9 +57,8 @@ class ScriptSourceCode;
|
|
|
| class PumpSession;
|
|
|
| -class HTMLDocumentParser : public DecodedDataDocumentParser {
|
| - WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
|
| - WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLDocumentParser);
|
| +class HTMLDocumentParser : public DocumentParser {
|
| + WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| static PassRefPtrWillBeRawPtr<HTMLDocumentParser> create(HTMLDocument& document, bool reportErrors)
|
| {
|
| @@ -69,8 +68,6 @@ public:
|
|
|
| void parse(mojo::ScopedDataPipeConsumerHandle) override;
|
|
|
| - virtual void trace(Visitor*) override;
|
| -
|
| // Exposed for HTMLParserScheduler
|
| void resumeParsingAfterYield();
|
|
|
|
|