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

Unified Diff: components/sessions/ios/ios_live_tab.mm

Issue 2766063002: Remove the concept of currentItemIndex (Closed)
Patch Set: fix unit tests 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
« no previous file with comments | « no previous file | ios/chrome/browser/native_app_launcher/native_app_navigation_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/ios/ios_live_tab.mm
diff --git a/components/sessions/ios/ios_live_tab.mm b/components/sessions/ios/ios_live_tab.mm
index b34747af4d51dc762e6f2fc36df54f388c703892..584b5238dfcec7d7ed226bc3f4f5348331bcb069 100644
--- a/components/sessions/ios/ios_live_tab.mm
+++ b/components/sessions/ios/ios_live_tab.mm
@@ -33,7 +33,7 @@
}
int IOSLiveTab::GetCurrentEntryIndex() {
- return navigation_manager()->GetCurrentItemIndex();
+ return navigation_manager()->GetLastCommittedItemIndex();
}
int IOSLiveTab::GetPendingEntryIndex() {
« no previous file with comments | « no previous file | ios/chrome/browser/native_app_launcher/native_app_navigation_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698