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

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

Issue 2712743008: Remove -insertTabWithWebState:atIndex: from TabModel. (Closed)
Patch Set: Rebase. Created 3 years, 10 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/navigation_manager_impl.mm
diff --git a/ios/web/navigation/navigation_manager_impl.mm b/ios/web/navigation/navigation_manager_impl.mm
index 7e254b2a87d7aba7be66221254fd6fc8e0bea6f3..c5a317671b36df3782e80c180f913f6207412321 100644
--- a/ios/web/navigation/navigation_manager_impl.mm
+++ b/ios/web/navigation/navigation_manager_impl.mm
@@ -101,7 +101,7 @@ void NavigationManagerImpl::InitializeSession(BOOL opened_by_dom) {
}
void NavigationManagerImpl::ReplaceSessionHistory(
- std::vector<std::unique_ptr<web::NavigationItem>> items,
+ web::ScopedNavigationItemList items,
int current_index) {
SetSessionController([[CRWSessionController alloc]
initWithBrowserState:browser_state_
« no previous file with comments | « ios/web/navigation/crw_session_controller_unittest.mm ('k') | ios/web/net/crw_ssl_status_updater_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698