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

Unified Diff: sky/engine/core/dom/DocumentInit.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/core/dom/Document.cpp ('k') | sky/engine/core/dom/DocumentInit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/DocumentInit.h
diff --git a/sky/engine/core/dom/DocumentInit.h b/sky/engine/core/dom/DocumentInit.h
index e407ecb413ffe11e827fcff0757d840bef6b9cf6..cad22ad8337c3214c7dad81403484c79ce17f4e2 100644
--- a/sky/engine/core/dom/DocumentInit.h
+++ b/sky/engine/core/dom/DocumentInit.h
@@ -61,9 +61,8 @@ public:
LocalFrame* ownerFrame() const;
Settings* settings() const;
- DocumentInit& withRegistrationContext(CustomElementRegistrationContext*);
- DocumentInit& withNewRegistrationContext();
- PassRefPtr<CustomElementRegistrationContext> registrationContext(Document*) const;
+ DocumentInit& withRegistrationContext(CustomElementRegistrationContext&);
+ PassRefPtr<CustomElementRegistrationContext> registrationContext() const;
WeakPtr<Document> contextDocument() const;
static DocumentInit fromContext(WeakPtr<Document> contextDocument, const KURL& = KURL());
@@ -78,7 +77,6 @@ private:
WeakPtr<Document> m_contextDocument;
RawPtr<HTMLImportsController> m_importsController;
RefPtr<CustomElementRegistrationContext> m_registrationContext;
- bool m_createNewRegistrationContext;
};
} // namespace blink
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/DocumentInit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698