Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2661743002: PlzNavigate: Invoke didStartProvisionalLoad() when the renderer initiates a navigation in startLoad( (Closed)
Patch Set: Fix test failures. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f54da409225a9f4fa64f26ad71eda001e5e3c011..1c86074ae2a327c5cd9cae2c2dc197079407f356 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -405,9 +405,12 @@ void FrameLoaderClientImpl::dispatchWillCommitProvisionalLoad() {
m_webFrame->client()->willCommitProvisionalLoad(m_webFrame);
}
-void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad() {
- if (m_webFrame->client())
- m_webFrame->client()->didStartProvisionalLoad(m_webFrame);
+void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad(
+ DocumentLoader* loader) {
+ if (m_webFrame->client()) {
+ m_webFrame->client()->didStartProvisionalLoad(
+ WebDataSourceImpl::fromDocumentLoader(loader));
+ }
if (WebDevToolsAgentImpl* devTools = devToolsAgent())
devTools->didStartProvisionalLoad(m_webFrame->frame());
}

Powered by Google App Engine
This is Rietveld 408576698