Index: ios/chrome/browser/tabs/tab_model_unittest.mm |
diff --git a/ios/chrome/browser/tabs/tab_model_unittest.mm b/ios/chrome/browser/tabs/tab_model_unittest.mm |
index eccd6aec3e3b4eb1be2fbcb00a548b2b6b267b3d..bef56fa94a726daa0d51018216ec2bdd64928428 100644 |
--- a/ios/chrome/browser/tabs/tab_model_unittest.mm |
+++ b/ios/chrome/browser/tabs/tab_model_unittest.mm |
@@ -632,7 +632,7 @@ void RestoreSession(SessionWindowIOS* window) { |
[tab_model_ addTabWithURL:kURL referrer:kEmptyReferrer windowName:nil]; |
// Force the history to update, as it is used to determine grouping. |
ASSERT_TRUE([parent navigationManager]); |
- [[parent navigationManager]->GetSessionController() commitPendingEntry]; |
+ [[parent navigationManager]->GetSessionController() commitPendingItem]; |
[tab_model_ addTabWithURL:kURL referrer:kEmptyReferrer windowName:nil]; |
[tab_model_ addTabWithURL:kURL referrer:kEmptyReferrer windowName:nil]; |
@@ -670,7 +670,7 @@ void RestoreSession(SessionWindowIOS* window) { |
parent_params.transition_type = ui::PAGE_TRANSITION_TYPED; |
[[parent webController] loadWithParams:parent_params]; |
ASSERT_TRUE([parent navigationManager]); |
- [[parent navigationManager]->GetSessionController() commitPendingEntry]; |
+ [[parent navigationManager]->GetSessionController() commitPendingItem]; |
EXPECT_EQ([tab_model_ indexOfTab:parent], 0U); |
// Add a new tab. It should be added behind the parent. It should not be added |
@@ -715,7 +715,7 @@ void RestoreSession(SessionWindowIOS* window) { |
[tab_model_ addTabWithURL:kURL referrer:kEmptyReferrer windowName:nil]; |
// Force the history to update, as it is used to determine grouping. |
ASSERT_TRUE([parent navigationManager]); |
- [[parent navigationManager]->GetSessionController() commitPendingEntry]; |
+ [[parent navigationManager]->GetSessionController() commitPendingItem]; |
[tab_model_ addTabWithURL:kURL referrer:kEmptyReferrer windowName:nil]; |
[tab_model_ addTabWithURL:kURL referrer:kEmptyReferrer windowName:nil]; |