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

Unified Diff: chrome/browser/metrics/first_web_contents_profiler.cc

Issue 2716493004: Renamed NavigationHandle::IsSamePage to NavigationHandle::IsSameDocument (Closed)
Patch Set: Rebased Created 3 years, 9 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: chrome/browser/metrics/first_web_contents_profiler.cc
diff --git a/chrome/browser/metrics/first_web_contents_profiler.cc b/chrome/browser/metrics/first_web_contents_profiler.cc
index 9a219ced2ce21c8612e5f30b96999d8bb1711673..89cd3b2d543b8aee5f1d460a47a5ef696331436f 100644
--- a/chrome/browser/metrics/first_web_contents_profiler.cc
+++ b/chrome/browser/metrics/first_web_contents_profiler.cc
@@ -166,7 +166,7 @@ void FirstWebContentsProfiler::DidFinishNavigation(
// to another page that does trigger it.
if (navigation_handle->IsInMainFrame() &&
navigation_handle->HasCommitted() &&
- !navigation_handle->IsSamePage()) {
+ !navigation_handle->IsSameDocument()) {
FinishedCollectingMetrics(FinishReason::ABANDON_NEW_NAVIGATION);
}
return;
« no previous file with comments | « chrome/browser/installable/installable_manager.cc ('k') | chrome/browser/page_load_metrics/metrics_web_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698