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

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 1002803002: Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: with android Created 5 years, 8 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: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index a00f9723db6f8e4da50e66601a329096b15d4f47..781abd30886df61cd0632a54c41669701aa53de7 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -328,7 +328,9 @@ bool NavigatorImpl::NavigateToEntry(
entry.ConstructCommonNavigationParams(navigation_type),
entry.ConstructStartNavigationParams(),
entry.ConstructRequestNavigationParams(
- navigation_start, controller_->GetIndexOfEntry(&entry),
+ navigation_start,
+ controller_->GetPendingEntryIndex() == -1,
+ controller_->GetIndexOfEntry(&entry),
controller_->GetLastCommittedEntryIndex(),
controller_->GetEntryCount()));
} else {

Powered by Google App Engine
This is Rietveld 408576698