Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
index 9026d06f4a4fb40b5a55a9610ba61fa729e19756..a149585d361966d3dff12a19d58c08bde3eea7ab 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -505,11 +505,11 @@ void FrameLoader::finishedParsing() |
if (client()) { |
ScriptForbiddenScope forbidScripts; |
- client()->dispatchDidFinishDocumentLoad(m_documentLoader ? m_documentLoader->isCommittedButEmpty() : true); |
+ client()->dispatchDidFinishDocumentLoad(); |
} |
if (client()) |
- client()->runScriptsAtDocumentReady(); |
+ client()->runScriptsAtDocumentReady(m_documentLoader ? m_documentLoader->isCommittedButEmpty() : true); |
checkCompleted(); |