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

Unified Diff: ios/web/net/crw_ssl_status_updater_unittest.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 | « ios/web/navigation/session_storage_builder.mm ('k') | ios/web/public/crw_session_storage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/net/crw_ssl_status_updater_unittest.mm
diff --git a/ios/web/net/crw_ssl_status_updater_unittest.mm b/ios/web/net/crw_ssl_status_updater_unittest.mm
index 329a0d64612aa380f166c0431cd64ab0d7193ae5..964dbe4394436a25f7ed06fa997f7bc5492d3a39 100644
--- a/ios/web/net/crw_ssl_status_updater_unittest.mm
+++ b/ios/web/net/crw_ssl_status_updater_unittest.mm
@@ -107,7 +107,7 @@ void TearDown() override {
base::scoped_nsobject<CRWSessionController> session_controller(
[[CRWSessionController alloc] initWithBrowserState:GetBrowserState()
navigationItems:std::move(nav_items)
- currentIndex:0]);
+ lastCommittedItemIndex:0]);
[session_controller
addPendingItem:GURL(item_url_spec)
referrer:Referrer()
« no previous file with comments | « ios/web/navigation/session_storage_builder.mm ('k') | ios/web/public/crw_session_storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698