Index: cc/test/ordered_simple_task_runner.cc |
diff --git a/cc/test/ordered_simple_task_runner.cc b/cc/test/ordered_simple_task_runner.cc |
index fd263f07a9f7c48c803d025db2dab87f8cf06684..4b3a80a2f1a3a387993d3a452e43fed79d3f9791 100644 |
--- a/cc/test/ordered_simple_task_runner.cc |
+++ b/cc/test/ordered_simple_task_runner.cc |
@@ -36,7 +36,7 @@ TestOrderablePendingTask::TestOrderablePendingTask() |
TestOrderablePendingTask::TestOrderablePendingTask( |
const tracked_objects::Location& location, |
- base::Closure task, |
+ base::OnceClosure task, |
base::TimeTicks post_time, |
base::TimeDelta delay, |
TestNestability nestability) |
@@ -109,7 +109,7 @@ base::TimeTicks OrderedSimpleTaskRunner::AbsoluteMaxNow() { |
// base::TestSimpleTaskRunner implementation |
bool OrderedSimpleTaskRunner::PostDelayedTask( |
const tracked_objects::Location& from_here, |
- base::Closure task, |
+ base::OnceClosure task, |
base::TimeDelta delay) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
TestOrderablePendingTask pt(from_here, std::move(task), now_src_->NowTicks(), |
@@ -122,7 +122,7 @@ bool OrderedSimpleTaskRunner::PostDelayedTask( |
bool OrderedSimpleTaskRunner::PostNonNestableDelayedTask( |
const tracked_objects::Location& from_here, |
- base::Closure task, |
+ base::OnceClosure task, |
base::TimeDelta delay) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
TestOrderablePendingTask pt(from_here, std::move(task), now_src_->NowTicks(), |