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

Unified Diff: chrome/browser/password_manager/password_store_mac.cc

Issue 2169263002: chrome/browser/password_manager: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « chrome/browser/password_manager/password_manager_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_mac.cc
diff --git a/chrome/browser/password_manager/password_store_mac.cc b/chrome/browser/password_manager/password_store_mac.cc
index 8efe36082c871110bb41027978cfd2e77282aebc..aa058c23ba5dd0d330d1df526c2b07efbb7a1ee8 100644
--- a/chrome/browser/password_manager/password_store_mac.cc
+++ b/chrome/browser/password_manager/password_store_mac.cc
@@ -546,7 +546,7 @@ void MergePasswordForms(ScopedVector<autofill::PasswordForm>* keychain_forms,
// Clear out all the Keychain entries we used.
ScopedVector<autofill::PasswordForm> unused_keychain_forms;
unused_keychain_forms.reserve(keychain_forms->size());
- for (auto& keychain_form : *keychain_forms) {
+ for (auto*& keychain_form : *keychain_forms) {
if (!ContainsKey(used_keychain_forms, keychain_form)) {
unused_keychain_forms.push_back(keychain_form);
keychain_form = nullptr;
« no previous file with comments | « chrome/browser/password_manager/password_manager_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698