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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller.cc

Issue 2078253002: vector<unique_ptr> for PasswordFormManager::blacklisted_matches_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix UI controller Created 4 years, 6 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 | « no previous file | components/password_manager/core/browser/password_form_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
index e75fb92fd3b7bdf775641485e1c5a58947c36dc0..81f5748e73c9f56100a989751bfed9a257b9f44f 100644
--- a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
@@ -353,8 +353,7 @@ void ManagePasswordsUIController::SavePasswordInternal() {
GetPasswordStore(web_contents());
password_manager::PasswordFormManager* form_manager =
passwords_data_.form_manager();
- for (const autofill::PasswordForm* form :
- form_manager->blacklisted_matches()) {
+ for (const auto& form : form_manager->blacklisted_matches()) {
password_store->RemoveLogin(*form);
}
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_form_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698