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

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

Issue 19762002: [HTML Imports] Let script of imported document running. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to ToT 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/html/HTMLImportsController.cpp
diff --git a/Source/core/html/HTMLImportsController.cpp b/Source/core/html/HTMLImportsController.cpp
index 2825c423b680b26386f1b2d78c55072f96166f3a..abb6f043cc1bdb726bfae457ebdcbe8468b91230 100644
--- a/Source/core/html/HTMLImportsController.cpp
+++ b/Source/core/html/HTMLImportsController.cpp
@@ -208,7 +208,7 @@ HTMLImportLoader::State HTMLImportLoader::finishParsing()
Document* HTMLImportLoader::importedDocument() const
{
- if (m_state != StateReady)
+ if (m_state == StateError)
return 0;
return m_importedDocument.get();
}

Powered by Google App Engine
This is Rietveld 408576698