| 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 6605c2eaa0f2e71038f4c2b88d88f401c8fa687c..f5bea72a79e19fcc77276dd7ead222cce9882be4 100644
|
| --- a/chrome/browser/password_manager/password_store_mac.cc
|
| +++ b/chrome/browser/password_manager/password_store_mac.cc
|
| @@ -1086,16 +1086,16 @@ ScopedVector<autofill::PasswordForm> PasswordStoreMac::FillMatchingLogins(
|
|
|
| void PasswordStoreMac::GetBlacklistLoginsImpl(
|
| scoped_ptr<PasswordStore::GetLoginsRequest> request) {
|
| - DCHECK(request->result()->empty());
|
| - FillBlacklistLogins(request->result());
|
| - ForwardLoginsResult(request.Pass());
|
| + ScopedVector<autofill::PasswordForm> obtained_forms;
|
| + FillBlacklistLogins(&obtained_forms);
|
| + request->NotifyConsumerWithResults(obtained_forms.Pass());
|
| }
|
|
|
| void PasswordStoreMac::GetAutofillableLoginsImpl(
|
| scoped_ptr<PasswordStore::GetLoginsRequest> request) {
|
| - DCHECK(request->result()->empty());
|
| - FillAutofillableLogins(request->result());
|
| - ForwardLoginsResult(request.Pass());
|
| + ScopedVector<autofill::PasswordForm> obtained_forms;
|
| + FillAutofillableLogins(&obtained_forms);
|
| + request->NotifyConsumerWithResults(obtained_forms.Pass());
|
| }
|
|
|
| bool PasswordStoreMac::FillAutofillableLogins(
|
|
|