Index: base/task_scheduler/test_task_factory.cc |
diff --git a/base/task_scheduler/test_task_factory.cc b/base/task_scheduler/test_task_factory.cc |
index 3b4e7235f0128fdcf84f00508736cebbb3336b8f..8db2042e05c94dd813ad4a3ed2b7bfc00a4299a4 100644 |
--- a/base/task_scheduler/test_task_factory.cc |
+++ b/base/task_scheduler/test_task_factory.cc |
@@ -37,8 +37,8 @@ bool TestTaskFactory::PostTask(PostNestedTask post_nested_task, |
AutoLock auto_lock(lock_); |
return task_runner_->PostTask( |
FROM_HERE, |
- Bind(&TestTaskFactory::RunTaskCallback, Unretained(this), |
- num_posted_tasks_++, post_nested_task, after_task_closure)); |
+ BindOnce(&TestTaskFactory::RunTaskCallback, Unretained(this), |
+ num_posted_tasks_++, post_nested_task, after_task_closure)); |
} |
void TestTaskFactory::WaitForAllTasksToRun() const { |