Index: cc/test/ordered_simple_task_runner.h |
diff --git a/cc/test/ordered_simple_task_runner.h b/cc/test/ordered_simple_task_runner.h |
index 0f9c2f56e6e647ee2955a74f11611bd87d6375ae..8051415f029fffec72bd03fa104f2c90be36e376 100644 |
--- a/cc/test/ordered_simple_task_runner.h |
+++ b/cc/test/ordered_simple_task_runner.h |
@@ -29,7 +29,7 @@ class TestOrderablePendingTask : public base::TestPendingTask { |
public: |
TestOrderablePendingTask(); |
TestOrderablePendingTask(const tracked_objects::Location& location, |
- base::Closure task, |
+ base::OnceClosure task, |
base::TimeTicks post_time, |
base::TimeDelta delay, |
TestNestability nestability); |
@@ -64,10 +64,10 @@ class OrderedSimpleTaskRunner : public base::SingleThreadTaskRunner { |
// base::TestSimpleTaskRunner implementation: |
bool PostDelayedTask(const tracked_objects::Location& from_here, |
- base::Closure task, |
+ base::OnceClosure task, |
base::TimeDelta delay) override; |
bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here, |
- base::Closure task, |
+ base::OnceClosure task, |
base::TimeDelta delay) override; |
bool RunsTasksOnCurrentThread() const override; |