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()) |