| Index: components/password_manager/core/browser/test_password_store.cc
|
| diff --git a/components/password_manager/core/browser/test_password_store.cc b/components/password_manager/core/browser/test_password_store.cc
|
| index 678f7c7520e0faa1a5990e86165ffa3b2afe4c9e..c89da87667d1895de25f4189267c49e498e5f25d 100644
|
| --- a/components/password_manager/core/browser/test_password_store.cc
|
| +++ b/components/password_manager/core/browser/test_password_store.cc
|
| @@ -46,12 +46,12 @@ bool TestPasswordStore::FormsAreEquivalent(const autofill::PasswordForm& lhs,
|
| }
|
|
|
| void TestPasswordStore::GetAutofillableLoginsImpl(
|
| - PasswordStore::GetLoginsRequest* request) {
|
| + scoped_ptr<GetLoginsRequest> request) {
|
| for (auto& forms_for_realm : stored_passwords_) {
|
| for (const autofill::PasswordForm& form : forms_for_realm.second)
|
| request->result()->push_back(new autofill::PasswordForm(form));
|
| }
|
| - ForwardLoginsResult(request);
|
| + ForwardLoginsResult(request.Pass());
|
| }
|
|
|
| PasswordStoreChangeList TestPasswordStore::AddLoginImpl(
|
|
|