| Index: Source/core/loader/FrameLoader.cpp
|
| diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
|
| index 581bd951484e77c319e9d868fd074afaad4b7d4d..74d5f443e8ec75911a9d18de9e657fe2a965623b 100644
|
| --- a/Source/core/loader/FrameLoader.cpp
|
| +++ b/Source/core/loader/FrameLoader.cpp
|
| @@ -181,7 +181,7 @@ void FrameLoader::stopLoading()
|
| {
|
| if (m_frame->document() && m_frame->document()->parsing()) {
|
| finishedParsing();
|
| - m_frame->document()->setParsing(false);
|
| + m_frame->document()->setParsingState(Document::FinishedParsing);
|
| }
|
|
|
| if (Document* doc = m_frame->document()) {
|
| @@ -468,7 +468,7 @@ void FrameLoader::checkCompleted()
|
| return;
|
|
|
| // Are we still parsing?
|
| - if (m_frame->document()->parsing())
|
| + if (m_frame->document()->parsing() || m_frame->document()->isInDOMContentLoaded())
|
| return;
|
|
|
| // Still waiting imports?
|
|
|