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

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

Issue 943013002: Implement Custom Elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: attributeChanged***d***Callback Created 5 years, 10 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/imports/HTMLImportLoader.cpp
diff --git a/sky/engine/core/html/imports/HTMLImportLoader.cpp b/sky/engine/core/html/imports/HTMLImportLoader.cpp
index 5dfd5e40b5f92d28edbaaf63fdc383d4b22a8f10..b3b6efbff0d3c8b16702134a4627892a51b01038 100644
--- a/sky/engine/core/html/imports/HTMLImportLoader.cpp
+++ b/sky/engine/core/html/imports/HTMLImportLoader.cpp
@@ -100,7 +100,7 @@ HTMLImportLoader::State HTMLImportLoader::startWritingAndParsing(mojo::URLRespon
ASSERT(contextDocument.get());
KURL url(ParsedURLString, String::fromUTF8(response->url));
DocumentInit init = DocumentInit(url, 0, contextDocument, m_controller)
- .withRegistrationContext(m_controller->master()->registrationContext());
+ .withElementRegistry(m_controller->master()->elementRegistry());
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));

Powered by Google App Engine
This is Rietveld 408576698