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

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

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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.cc
diff --git a/chrome/browser/password_manager/password_store.cc b/chrome/browser/password_manager/password_store.cc
index d4ef8e179b564a3948b597121006affc88568b66..172d6f1232321726e4cc2cda6331ea6d98f99934 100644
--- a/chrome/browser/password_manager/password_store.cc
+++ b/chrome/browser/password_manager/password_store.cc
@@ -141,7 +141,7 @@ CancelableRequestProvider::Handle PasswordStore::Schedule(
scoped_refptr<GetLoginsRequest> request(NewGetLoginsRequest(
base::Bind(&PasswordStoreConsumer::OnPasswordStoreRequestDone,
base::Unretained(consumer))));
- AddRequest(request, consumer->cancelable_consumer());
+ AddRequest(request.get(), consumer->cancelable_consumer());
ScheduleTask(base::Bind(func, this, request));
return request->handle();
}
@@ -154,7 +154,7 @@ CancelableRequestProvider::Handle PasswordStore::Schedule(
base::Bind(&PasswordStoreConsumer::OnPasswordStoreRequestDone,
base::Unretained(consumer))));
request->set_ignore_logins_cutoff(ignore_logins_cutoff);
- AddRequest(request, consumer->cancelable_consumer());
+ AddRequest(request.get(), consumer->cancelable_consumer());
ScheduleTask(base::Bind(func, this, request, form));
return request->handle();
}
« no previous file with comments | « chrome/browser/password_manager/password_form_manager.cc ('k') | chrome/browser/password_manager/password_store_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698