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

Unified Diff: Source/core/html/HTMLLinkElement.cpp

Issue 143463011: [import] support document.stylesheets in imported documents. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing Created 6 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 | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/html/LinkImport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLinkElement.cpp
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
index 79b10c80e9312d01c90aeb74139b70b10f1cff3c..cc886008ace6cc162c2b06b48339ae03b32eacf9 100644
--- a/Source/core/html/HTMLLinkElement.cpp
+++ b/Source/core/html/HTMLLinkElement.cpp
@@ -174,6 +174,14 @@ LinkImport* HTMLLinkElement::linkImport() const
return static_cast<LinkImport*>(m_link.get());
}
+bool HTMLLinkElement::importOwnsLoader() const
+{
+ LinkImport* import = linkImport();
+ if (!import)
+ return false;
+ return import->ownsLoader();
+}
+
Document* HTMLLinkElement::import() const
{
if (LinkImport* link = linkImport())
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/html/LinkImport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698