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

Unified Diff: ios/web/net/crw_ssl_status_updater_unittest.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.mm ('k') | no next file » | 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 81cf477b157bc6fb651618a6e361d15cdbecbfe2..ce4128fed1f8e7bba855812df6b2901343b7e4dd 100644
--- a/ios/web/net/crw_ssl_status_updater_unittest.mm
+++ b/ios/web/net/crw_ssl_status_updater_unittest.mm
@@ -102,7 +102,7 @@ class CRWSSLStatusUpdaterTest : public web::WebTest {
// Returns autoreleased session controller with a single committed entry.
CRWSessionController* SessionControllerWithEntry(std::string item_url_spec) {
- ScopedVector<web::NavigationItem> nav_items;
+ std::vector<std::unique_ptr<web::NavigationItem>> nav_items;
base::scoped_nsobject<CRWSessionController> session_controller(
[[CRWSessionController alloc]
initWithNavigationItems:std::move(nav_items)
« no previous file with comments | « ios/web/navigation/navigation_manager_impl.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698