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

Unified Diff: chrome/browser/history/history_extension_api.cc

Issue 8960010: base::Bind: Convert NewRunnableMethod in chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix 55. Created 9 years 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
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/net/sqlite_origin_bound_cert_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_extension_api.cc
diff --git a/chrome/browser/history/history_extension_api.cc b/chrome/browser/history/history_extension_api.cc
index 1c7d1e6866c967ae4fa995752caf7d82bf98ed41..bee35434acdcce514983032e037ed3aa90b7f7f6 100644
--- a/chrome/browser/history/history_extension_api.cc
+++ b/chrome/browser/history/history_extension_api.cc
@@ -221,9 +221,7 @@ bool HistoryFunctionWithCallback::RunImpl() {
void HistoryFunctionWithCallback::SendAsyncResponse() {
MessageLoop::current()->PostTask(
FROM_HERE,
- NewRunnableMethod(
- this,
- &HistoryFunctionWithCallback::SendResponseToCallback));
+ base::Bind(&HistoryFunctionWithCallback::SendResponseToCallback, this));
}
void HistoryFunctionWithCallback::SendResponseToCallback() {
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/net/sqlite_origin_bound_cert_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698