Index: chrome/common/profiling.cc |
diff --git a/chrome/common/profiling.cc b/chrome/common/profiling.cc |
index 1a56086a2f5436589526bc0155c3cdabe89ba4bb..e0323c7f133975230c1d18faf68ecc6c7d5a1947 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() { |