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

Unified Diff: ios/web/navigation/session_storage_builder.mm

Issue 2766063002: Remove the concept of currentItemIndex (Closed)
Patch Set: Addressed comments 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: ios/web/navigation/session_storage_builder.mm
diff --git a/ios/web/navigation/session_storage_builder.mm b/ios/web/navigation/session_storage_builder.mm
index 6ad68f1f8acfda1e80813b3428376703b04bb6c5..eaee3bb2b7e23155b92006db9b2d2857ac4d7492 100644
--- a/ios/web/navigation/session_storage_builder.mm
+++ b/ios/web/navigation/session_storage_builder.mm
@@ -38,7 +38,7 @@ @interface CRWSessionController (ExposedForSerialization)
CRWSessionController* session_controller =
navigation_manager->GetSessionController();
session_storage.currentNavigationIndex =
- session_controller.currentNavigationIndex;
+ session_controller.lastCommittedItemIndex;
session_storage.previousNavigationIndex =
session_controller.previousNavigationIndex;
session_storage.sessionCertificatePolicyManager =

Powered by Google App Engine
This is Rietveld 408576698