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

Unified Diff: Source/core/html/LinkImport.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/LinkImport.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LinkImport.cpp
diff --git a/Source/core/html/LinkImport.cpp b/Source/core/html/LinkImport.cpp
index d4c59b6d46e4ed3a163f645f7b9a4724f7d51e5d..9d3885323d5cfdee5051829aa4c6326fd90748c8 100644
--- a/Source/core/html/LinkImport.cpp
+++ b/Source/core/html/LinkImport.cpp
@@ -132,4 +132,9 @@ bool LinkImport::hasLoaded() const
return m_child && m_child->isDone() && !m_child->loaderHasError();
}
+bool LinkImport::ownsLoader() const
+{
+ return m_child && m_child->hasLoader() && m_child->ownsLoader();
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/html/LinkImport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698