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

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

Issue 16936002: [HTML Imports] Make HTMLLinkElement.import a Document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
Index: Source/core/html/HTMLLinkElement.cpp
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
index bb331d9935612ceb9f6dea3c59695d9ba9a12d44..381f096bab17edbe82fb3ad73ed89b6293dde34c 100644
--- a/Source/core/html/HTMLLinkElement.cpp
+++ b/Source/core/html/HTMLLinkElement.cpp
@@ -173,10 +173,10 @@ LinkImport* HTMLLinkElement::linkImport() const
return static_cast<LinkImport*>(m_link.get());
}
-DocumentFragment* HTMLLinkElement::import() const
+Document* HTMLLinkElement::import() const
{
if (LinkImport* link = linkImport())
- return linkImport()->importedFragment();
+ return linkImport()->importedDocument();
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698