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

Unified Diff: sky/engine/core/app/ModuleLoader.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/bindings/templates/interface.cpp ('k') | sky/engine/core/core.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/app/ModuleLoader.cpp
diff --git a/sky/engine/core/app/ModuleLoader.cpp b/sky/engine/core/app/ModuleLoader.cpp
index 4befe6410e2bcb40da60e115d1fad6257294a538..b7428b25c2fa2a3713486e80060a355cfac6de08 100644
--- a/sky/engine/core/app/ModuleLoader.cpp
+++ b/sky/engine/core/app/ModuleLoader.cpp
@@ -10,7 +10,6 @@
#include "sky/engine/core/app/Module.h"
#include "sky/engine/core/dom/Document.h"
#include "sky/engine/core/dom/DocumentParser.h"
-#include "sky/engine/core/html/HTMLDocument.h"
#include "sky/engine/wtf/text/WTFString.h"
namespace blink {
@@ -50,7 +49,7 @@ void ModuleLoader::OnReceivedResponse(mojo::URLResponsePtr response) {
DocumentInit init = DocumentInit(url, 0, context, 0)
.withRegistrationContext(context->registrationContext());
- RefPtr<Document> document = HTMLDocument::create(init);
+ RefPtr<Document> document = Document::create(init);
document->startParsing()->parse(response->body.Pass(),
base::Bind(&ModuleLoader::OnParsingComplete, weak_factory_.GetWeakPtr()));
« no previous file with comments | « sky/engine/bindings/templates/interface.cpp ('k') | sky/engine/core/core.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698