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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.mm

Issue 2253233005: Change ScopedVector to vector<unique_ptr> in the password's UI code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android+ Created 4 years, 4 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: chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.mm
index 9b40159090d6382d9f4d25c9af62dda6d158b784..1ca4dc4067d3aeda49698b3464016dedfa75499f 100644
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.mm
@@ -77,8 +77,8 @@
contentView = noPasswordsView_.get();
} else {
passwordsListController_.reset([[PasswordsListViewController alloc]
- initWithModel:self.model
- forms:self.model->local_credentials().get()]);
+ initWithModelAndForms:self.model
+ forms:&self.model->local_credentials()]);
contentView = [passwordsListController_ view];
}
[view addSubview:contentView];

Powered by Google App Engine
This is Rietveld 408576698