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

Unified Diff: Source/core/html/imports/LinkImport.cpp

Issue 265453003: HTML Imports: Let dynamically-added imports sync. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing. Created 6 years, 8 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 | « LayoutTests/http/tests/htmlimports/resources/having-dynamic-child.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/imports/LinkImport.cpp
diff --git a/Source/core/html/imports/LinkImport.cpp b/Source/core/html/imports/LinkImport.cpp
index 62bfcc0d863fd57742d389b3d2f160656ffd637a..791df0207fa379998fa95817d595ece2cf0172a8 100644
--- a/Source/core/html/imports/LinkImport.cpp
+++ b/Source/core/html/imports/LinkImport.cpp
@@ -119,7 +119,7 @@ void LinkImport::importChildWasDestroyed(HTMLImportChild* child)
bool LinkImport::isSync() const
{
- return m_owner && m_owner->isCreatedByParser() && !m_owner->async();
+ return m_owner && !m_owner->async();
}
HTMLLinkElement* LinkImport::link()
« no previous file with comments | « LayoutTests/http/tests/htmlimports/resources/having-dynamic-child.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698