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

Unified Diff: chrome/common/profiling.cc

Issue 8483003: Callback API Change: Reimplement Bind(); support IgnoreResult, full currying, and use less types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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/password_manager/password_store_x.cc ('k') | content/browser/cancelable_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/profiling.cc
diff --git a/chrome/common/profiling.cc b/chrome/common/profiling.cc
index 946f54f1bb20b66c16b0f3a2ab3a0c0d307167b0..1173992e6b765fc731afeaeb3f951576c609162c 100644
--- a/chrome/common/profiling.cc
+++ b/chrome/common/profiling.cc
@@ -54,7 +54,7 @@ void FlushProfilingData(base::Thread* thread) {
}
}
thread->message_loop()->PostDelayedTask(
- FROM_HERE, base::Bind(FlushProfilingData, thread), flush_seconds * 1000);
+ FROM_HERE, base::Bind(&FlushProfilingData, thread), flush_seconds * 1000);
}
class ProfilingThreadControl {
@@ -69,7 +69,7 @@ class ProfilingThreadControl {
thread_ = new base::Thread("Profiling_Flush");
thread_->Start();
thread_->message_loop()->PostTask(
- FROM_HERE, base::Bind(FlushProfilingData, thread_));
+ FROM_HERE, base::Bind(&FlushProfilingData, thread_));
}
void Stop() {
« no previous file with comments | « chrome/browser/password_manager/password_store_x.cc ('k') | content/browser/cancelable_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698