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

Unified Diff: components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc

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: components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc
diff --git a/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc b/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc
index 73c6133836ab2056a55ec34dc5d903ae2ad40b0d..46131fd7028ee46e0646dc52c3d3a579d43a5505 100644
--- a/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc
+++ b/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc
@@ -27,7 +27,8 @@ DistillerJsRenderFrameObserver::DistillerJsRenderFrameObserver(
DistillerJsRenderFrameObserver::~DistillerJsRenderFrameObserver() {}
-void DistillerJsRenderFrameObserver::DidStartProvisionalLoad() {
+void DistillerJsRenderFrameObserver::DidStartProvisionalLoad(
+ blink::WebDataSource* data_source) {
RegisterMojoInterface();
}

Powered by Google App Engine
This is Rietveld 408576698