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

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

Issue 906973007: PasswordStore: Clean up expectations about rewriting vectors of forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/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 31c0d2b43d67d07a11c33b539ebc98d31deac799..fe9bde3c771eceb4681f30bcdc6723fc019e7c8e 100644
--- a/chrome/browser/password_manager/password_store_mac.cc
+++ b/chrome/browser/password_manager/password_store_mac.cc
@@ -1125,6 +1125,7 @@ void PasswordStoreMac::GetAutofillableLoginsImpl(
bool PasswordStoreMac::FillAutofillableLogins(
ScopedVector<autofill::PasswordForm>* forms) {
DCHECK(thread_->message_loop() == base::MessageLoop::current());
+ forms->clear();
ScopedVector<PasswordForm> database_forms;
if (!login_metadata_db_ ||

Powered by Google App Engine
This is Rietveld 408576698