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/dom/Document.cpp

Issue 21182004: [HTML Imports] Make import loading in order. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed feedback. Created 7 years, 5 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/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index b3fc7f14359dada020f4dfa5ed5727064c2bfc11..3fd614b6c6ae630b7581ee2eb7e10d26826283f3 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -779,7 +779,7 @@ void Document::didLoadAllImports()
bool Document::haveImportsLoaded() const
{
- return !m_import || m_import->haveChildrenLoaded();
+ return !m_import || !m_import->isBlocked();
}
PassRefPtr<DocumentFragment> Document::createDocumentFragment()
« no previous file with comments | « LayoutTests/http/tests/htmlimports/resources/import-blocking-nested-child-2.html ('k') | Source/core/html/HTMLImport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698