| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| index 9e23b1a9187c4913ae9207a2e6136cd19addece2..9b431237967a73720f56f2faae6a0058a3b4afa8 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -275,7 +275,9 @@ void DocumentLoader::notifyFinished(Resource* resource)
|
|
|
| void DocumentLoader::finishedLoading(double finishTime)
|
| {
|
| - ASSERT(!m_frame->page()->defersLoading() || InspectorInstrumentation::isDebuggerPaused(m_frame));
|
| + DCHECK(m_frame->loader().stateMachine()->creatingInitialEmptyDocument()
|
| + || !m_frame->page()->defersLoading()
|
| + || InspectorInstrumentation::isDebuggerPaused(m_frame));
|
|
|
| double responseEndTime = finishTime;
|
| if (!responseEndTime)
|
|
|