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() { |