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

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 build error 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..aaa4c7a5b7dd2f147619438a1f5e6103be559dce 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -406,8 +406,10 @@ void FrameLoaderClientImpl::dispatchWillCommitProvisionalLoad() {
}
void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad() {
- if (m_webFrame->client())
- m_webFrame->client()->didStartProvisionalLoad(m_webFrame);
+ if (m_webFrame->client()) {
+ m_webFrame->client()->didStartProvisionalLoad(
+ m_webFrame, m_webFrame->provisionalDataSource()->getRequest());
+ }
if (WebDevToolsAgentImpl* devTools = devToolsAgent())
devTools->didStartProvisionalLoad(m_webFrame->frame());
}

Powered by Google App Engine
This is Rietveld 408576698