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

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

Issue 703593003: Move exports from Document to Module (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/HTMLImportChild.cpp
diff --git a/sky/engine/core/html/imports/HTMLImportChild.cpp b/sky/engine/core/html/imports/HTMLImportChild.cpp
index 023d1f070907de771b4b008857c641f31e48a01f..6813e650055ecb0719e982f052b5da4a4be1466d 100644
--- a/sky/engine/core/html/imports/HTMLImportChild.cpp
+++ b/sky/engine/core/html/imports/HTMLImportChild.cpp
@@ -112,6 +112,12 @@ void HTMLImportChild::importDestroyed()
}
#endif
+Module* HTMLImportChild::module() const
+{
+ ASSERT(m_loader);
+ return m_loader->module();
+}
+
Document* HTMLImportChild::document() const
{
ASSERT(m_loader);

Powered by Google App Engine
This is Rietveld 408576698