Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
index 72bdb4b23e4f27fb061d2580d5689fb7d005083b..a89a59d92a2e32bcfe1b2afd16815c17fc72b4bf 100644 |
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
@@ -195,10 +195,10 @@ void FrameLoaderClientImpl::runScriptsAtDocumentElementAvailable() |
// The callback might have deleted the frame, do not use |this|! |
} |
-void FrameLoaderClientImpl::runScriptsAtDocumentReady() |
+void FrameLoaderClientImpl::runScriptsAtDocumentReady(bool documentIsEmpty) |
{ |
if (m_webFrame->client()) |
- m_webFrame->client()->runScriptsAtDocumentReady(m_webFrame); |
+ m_webFrame->client()->runScriptsAtDocumentReady(m_webFrame, documentIsEmpty); |
// The callback might have deleted the frame, do not use |this|! |
} |
@@ -438,7 +438,7 @@ void FrameLoaderClientImpl::dispatchDidFinishLoading(DocumentLoader* loader, |
m_webFrame->client()->didFinishResourceLoad(m_webFrame, identifier); |
} |
-void FrameLoaderClientImpl::dispatchDidFinishDocumentLoad(bool documentIsEmpty) |
+void FrameLoaderClientImpl::dispatchDidFinishDocumentLoad() |
{ |
if (!m_webFrame->parent()) { |
if (WebViewImpl* webview = m_webFrame->viewImpl()) |
@@ -450,7 +450,7 @@ void FrameLoaderClientImpl::dispatchDidFinishDocumentLoad(bool documentIsEmpty) |
// the fake WebLocalFrame that they create, which means that you should not |
// put any code touching `this` after the two lines below. |
if (m_webFrame->client()) |
- m_webFrame->client()->didFinishDocumentLoad(m_webFrame, documentIsEmpty); |
+ m_webFrame->client()->didFinishDocumentLoad(m_webFrame); |
} |
void FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache(const ResourceRequest& request, const ResourceResponse& response) |