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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2890173002: EQT: Record the max queueing time from navigation start to navigation away (Closed)
Patch Set: fix mock_renderer_scheduler Created 3 years, 6 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 | third_party/WebKit/Source/platform/scheduler/renderer/DEPS » ('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 8ff540e93bfe07d49b3cacacc4f1a6987ea39c47..9e96a1a3b11996ce9c69a54dc80deb2f3ac6d3e8 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3659,7 +3659,10 @@ void RenderFrameImpl::DidCommitProvisionalLoad(
if (commit_type != blink::kWebHistoryInertCommit ||
PageTransitionCoreTypeIs(navigation_state->GetTransitionType(),
ui::PAGE_TRANSITION_RELOAD)) {
+ // TODO(maxlg): remove OnNavigationStarted and migrate this part into
+ // OnCommitProvisionalLoad.
render_thread_impl->GetRendererScheduler()->OnNavigationStarted();
+ render_thread_impl->GetRendererScheduler()->OnCommitProvisionalLoad();
}
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/scheduler/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698