Index: chrome/browser/password_manager/password_store.cc |
diff --git a/chrome/browser/password_manager/password_store.cc b/chrome/browser/password_manager/password_store.cc |
index af0306c73b30f2f4ecd2cf0202f3c866930c23c3..712ef1cb96ebcf22b899104bcd207ccfaf657688 100644 |
--- a/chrome/browser/password_manager/password_store.cc |
+++ b/chrome/browser/password_manager/password_store.cc |
@@ -77,7 +77,7 @@ int PasswordStore::GetBlacklistLogins(PasswordStoreConsumer* consumer) { |
} |
void PasswordStore::NotifyConsumer(GetLoginsRequest* request, |
- const vector<PasswordForm*> forms) { |
+ const vector<PasswordForm*>& forms) { |
scoped_ptr<GetLoginsRequest> request_ptr(request); |
#if !defined(OS_MACOSX) |
@@ -91,7 +91,7 @@ void PasswordStore::NotifyConsumer(GetLoginsRequest* request, |
void PasswordStore::NotifyConsumerImpl(PasswordStoreConsumer* consumer, |
int handle, |
- const vector<PasswordForm*> forms) { |
+ const vector<PasswordForm*>& forms) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
// Don't notify the consumer if the request was canceled. |
if (pending_requests_.find(handle) == pending_requests_.end()) { |