| 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();
|
| }
|
|
|