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

Unified Diff: Source/core/dom/Document.cpp

Issue 141143006: [import] Cleanup: get rid of ad-hoc state machine. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a test 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
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 86d8fbb723896ee7e4913703bde30a8e8528073a..c01dc9ddbadb999b84bc2c251b40b80ae936770b 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -795,7 +795,7 @@ void Document::didLoadAllImports()
bool Document::haveImportsLoaded() const
{
- return !m_import || !m_import->isBlockedFromRunningScript();
+ return !m_import || !m_import->isStateBlockedFromRunningScript();
}
DOMWindow* Document::executingWindow()

Powered by Google App Engine
This is Rietveld 408576698