Index: base/test/test_simple_task_runner.cc |
diff --git a/base/test/test_simple_task_runner.cc b/base/test/test_simple_task_runner.cc |
index df0334097b0a1daf34932672f291a16e5dc1bd5d..4280a0de62502a059fec11a315a2cafdb46cbf6d 100644 |
--- a/base/test/test_simple_task_runner.cc |
+++ b/base/test/test_simple_task_runner.cc |
@@ -18,7 +18,7 @@ TestSimpleTaskRunner::~TestSimpleTaskRunner() = default; |
bool TestSimpleTaskRunner::PostDelayedTask( |
const tracked_objects::Location& from_here, |
- Closure task, |
+ OnceClosure task, |
TimeDelta delay) { |
AutoLock auto_lock(lock_); |
pending_tasks_.push_back(TestPendingTask(from_here, std::move(task), |
@@ -29,7 +29,7 @@ bool TestSimpleTaskRunner::PostDelayedTask( |
bool TestSimpleTaskRunner::PostNonNestableDelayedTask( |
const tracked_objects::Location& from_here, |
- Closure task, |
+ OnceClosure task, |
TimeDelta delay) { |
AutoLock auto_lock(lock_); |
pending_tasks_.push_back(TestPendingTask(from_here, std::move(task), |