Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: sky/engine/core/html/parser/HTMLDocumentParser.h

Issue 871383002: Merge HTMLDocument into Document (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 827d8174bcd4b1d9e238f1db37af00961e28a644..c5f46130d7cf1b39c2cfba263cecc3716341539e 100644
--- a/sky/engine/core/html/parser/HTMLDocumentParser.h
+++ b/sky/engine/core/html/parser/HTMLDocumentParser.h
@@ -48,7 +48,6 @@ class BackgroundHTMLParser;
class CompactHTMLToken;
class Document;
class Element;
-class HTMLDocument;
class HTMLParserScheduler;
class HTMLTreeBuilder;
class ScriptController;
@@ -59,7 +58,7 @@ class PumpSession;
class HTMLDocumentParser : public DocumentParser {
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));
}
@@ -88,7 +87,7 @@ public:
void resumeAfterWaitingForImports() override final;
private:
- HTMLDocumentParser(HTMLDocument&, bool reportErrors);
+ HTMLDocumentParser(Document&, bool reportErrors);
HTMLTreeBuilder* treeBuilder() const { return m_treeBuilder.get(); }
« no previous file with comments | « sky/engine/core/html/imports/HTMLImportLoader.cpp ('k') | sky/engine/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698