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

Unified Diff: sky/engine/core/html/imports/HTMLImportLoader.cpp

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
« no previous file with comments | « sky/engine/core/html/HTMLDocument.idl ('k') | sky/engine/core/html/parser/HTMLDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/imports/HTMLImportLoader.cpp
diff --git a/sky/engine/core/html/imports/HTMLImportLoader.cpp b/sky/engine/core/html/imports/HTMLImportLoader.cpp
index 336d42d15c62cbcd858bab468b2a16a1be691fda..5dfd5e40b5f92d28edbaaf63fdc383d4b22a8f10 100644
--- a/sky/engine/core/html/imports/HTMLImportLoader.cpp
+++ b/sky/engine/core/html/imports/HTMLImportLoader.cpp
@@ -37,7 +37,6 @@
#include "sky/engine/core/dom/DocumentParser.h"
#include "sky/engine/core/dom/StyleEngine.h"
#include "sky/engine/core/dom/custom/CustomElementSyncMicrotaskQueue.h"
-#include "sky/engine/core/html/HTMLDocument.h"
#include "sky/engine/core/html/imports/HTMLImportChild.h"
#include "sky/engine/core/html/imports/HTMLImportsController.h"
@@ -102,7 +101,7 @@ HTMLImportLoader::State HTMLImportLoader::startWritingAndParsing(mojo::URLRespon
KURL url(ParsedURLString, String::fromUTF8(response->url));
DocumentInit init = DocumentInit(url, 0, contextDocument, m_controller)
.withRegistrationContext(m_controller->master()->registrationContext());
- m_document = HTMLDocument::create(init);
+ m_document = Document::create(init);
m_module = Module::create(contextDocument.get(), nullptr, m_document.get(), url.string());
m_document->startParsing()->parse(response->body.Pass(), base::Bind(base::DoNothing));
return StateLoading;
« no previous file with comments | « sky/engine/core/html/HTMLDocument.idl ('k') | sky/engine/core/html/parser/HTMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698