| Index: ios/chrome/browser/tabs/tab.mm
|
| diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
|
| index 10e41e5cf9521713eab0772ee0364bb7293306bb..0b301957644e37a52c983a4dbaee1e2a6c7cc5f0 100644
|
| --- a/ios/chrome/browser/tabs/tab.mm
|
| +++ b/ios/chrome/browser/tabs/tab.mm
|
| @@ -903,7 +903,7 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
|
| - (void)replaceHistoryWithNavigations:
|
| (const std::vector<sessions::SerializedNavigationEntry>&)navigations
|
| currentIndex:(NSInteger)currentIndex {
|
| - std::vector<std::unique_ptr<web::NavigationItem>> items =
|
| + web::ScopedNavigationItemList items =
|
| sessions::IOSSerializedNavigationBuilder::ToNavigationItems(navigations);
|
| [self navigationManagerImpl]->ReplaceSessionHistory(std::move(items),
|
| currentIndex);
|
|
|