Index: mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc b/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc |
index 757ed5e55be5c3be1d3ccb210bbb934815dde243..569eb518c6ccb01591aa90d5fc0a574138556582 100644 |
--- a/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc |
@@ -32,14 +32,14 @@ class TestTaskRunner : public base::SingleThreadTaskRunner { |
base::WaitableEvent::InitialState::NOT_SIGNALED) {} |
bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here, |
- base::Closure task, |
+ base::OnceClosure task, |
base::TimeDelta delay) override { |
NOTREACHED(); |
return false; |
} |
bool PostDelayedTask(const tracked_objects::Location& from_here, |
- base::Closure task, |
+ base::OnceClosure task, |
base::TimeDelta delay) override { |
{ |
base::AutoLock locker(lock_); |
@@ -112,7 +112,7 @@ class TestTaskRunner : public base::SingleThreadTaskRunner { |
// Protect |tasks_|. |
base::Lock lock_; |
- std::queue<base::Closure> tasks_; |
+ std::queue<base::OnceClosure> tasks_; |
DISALLOW_COPY_AND_ASSIGN(TestTaskRunner); |
}; |