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

Unified Diff: sky/engine/core/dom/Document.h

Issue 841873006: All documents should have a RegistrationContext. (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/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index fb0c462205b69267054897dc038063338491a6a5..64a55402d78f863e6f90d98c792ce7cfe0124db1 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -496,7 +496,7 @@ public:
ScriptValue registerElement(ScriptState*, const AtomicString& name, ExceptionState&);
ScriptValue registerElement(ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionState&);
- CustomElementRegistrationContext* registrationContext() { return m_registrationContext.get(); }
+ CustomElementRegistrationContext& registrationContext() { return *m_registrationContext; }
CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue();
void setImportsController(HTMLImportsController*);
« no previous file with comments | « sky/engine/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698