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

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

Issue 2600583002: Remove ScopedVector from components/sessions. (Closed)
Patch Set: include Created 3 years, 12 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/navigation_manager_impl.h ('k') | ios/web/net/crw_ssl_status_updater_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f13d0959470aecaaade9fd48a4329fafaefebe1c..6d7835c92d4c47ab694a11b77e8198b34d45afa2 100644
--- a/ios/web/navigation/navigation_manager_impl.mm
+++ b/ios/web/navigation/navigation_manager_impl.mm
@@ -105,7 +105,7 @@ void NavigationManagerImpl::InitializeSession(NSString* window_name,
}
void NavigationManagerImpl::ReplaceSessionHistory(
- ScopedVector<web::NavigationItem> items,
+ std::vector<std::unique_ptr<web::NavigationItem>> items,
int current_index) {
SetSessionController([[CRWSessionController alloc]
initWithNavigationItems:std::move(items)
« no previous file with comments | « ios/web/navigation/navigation_manager_impl.h ('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