Index: Source/core/html/parser/HTMLDocumentParser.h |
diff --git a/Source/core/html/parser/HTMLDocumentParser.h b/Source/core/html/parser/HTMLDocumentParser.h |
index 69130d56a493b9fc19c7f03223c07c86aaab4ad0..57d1a2f1913d44bbc06606456b5ca97986b76860 100644 |
--- a/Source/core/html/parser/HTMLDocumentParser.h |
+++ b/Source/core/html/parser/HTMLDocumentParser.h |
@@ -67,7 +67,7 @@ class PumpSession; |
class HTMLDocumentParser : public ScriptableDocumentParser, HTMLScriptRunnerHost, CachedResourceClient { |
WTF_MAKE_FAST_ALLOCATED; |
public: |
- static PassRefPtr<HTMLDocumentParser> create(HTMLDocument* document, bool reportErrors) |
+ static PassRefPtr<HTMLDocumentParser> create(Document* document, bool reportErrors) |
{ |
return adoptRef(new HTMLDocumentParser(document, reportErrors)); |
} |
@@ -102,7 +102,7 @@ protected: |
virtual void append(PassRefPtr<StringImpl>) OVERRIDE; |
virtual void finish() OVERRIDE; |
- HTMLDocumentParser(HTMLDocument*, bool reportErrors); |
+ HTMLDocumentParser(Document*, bool reportErrors); |
HTMLDocumentParser(DocumentFragment*, Element* contextElement, ParserContentPolicy); |
HTMLTreeBuilder* treeBuilder() const { return m_treeBuilder.get(); } |