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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2196333002: PlzNavigate: Clear provisional history item on redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timing_api
Patch Set: Rebasing again, Trybot issues. Created 4 years, 4 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
« no previous file with comments | « no previous file | testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 7c13c18e19f3cca5553b8681b09ff77650559056..97f94f0afe5bc8d03702c47ba7e861d04eb0f3fd 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3160,9 +3160,8 @@ void RenderFrameImpl::didCreateDataSource(blink::WebLocalFrame* frame,
navigation_state->request_params().redirects;
redirectChain.push_back(navigation_state->common_params().url);
- datasource->updateNavigationTimings(redirect_start, redirect_end,
- fetch_start, redirectChain);
-
+ datasource->updateNavigation(redirect_start, redirect_end, fetch_start,
+ redirectChain);
// TODO(clamy) We need to provide additional timing values for the
// Navigation Timing API to work with browser-side navigations.
// UnloadEventStart and UnloadEventEnd are still missing.
« no previous file with comments | « no previous file | testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698