Index: base/task_unittest.cc |
diff --git a/base/task_unittest.cc b/base/task_unittest.cc |
index d7d31fa47b2eace0011df618f4ed34c3b7d01a45..f1924150f9fb49bd87c7e43908415890d9059c4b 100644 |
--- a/base/task_unittest.cc |
+++ b/base/task_unittest.cc |
@@ -115,7 +115,7 @@ void Increment(int* value) { |
TEST(TaskTest, TestScopedClosureRunnerExitScope) { |
int run_count = 0; |
{ |
- base::ScopedClosureRunner runner(base::Bind(Increment, &run_count)); |
+ base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); |
EXPECT_EQ(0, run_count); |
} |
EXPECT_EQ(1, run_count); |
@@ -125,7 +125,7 @@ TEST(TaskTest, TestScopedClosureRunnerRelease) { |
int run_count = 0; |
base::Closure c; |
{ |
- base::ScopedClosureRunner runner(base::Bind(Increment, &run_count)); |
+ base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); |
c = runner.Release(); |
EXPECT_EQ(0, run_count); |
} |