| 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;
|
|
|