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

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: Remove CHECK for redirect chain as the redirects may not be populated for provisional loads for ren… Created 3 years, 10 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 2ece4781b937e0ce01771ff8f3066633352acfc6..3ccc62e5235c08ee993f3ccbce31202f9a91939a 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