Index: base/deferred_sequenced_task_runner.cc |
diff --git a/base/deferred_sequenced_task_runner.cc b/base/deferred_sequenced_task_runner.cc |
index 926d895f0cb4d6dad3487b052b192ade642039b0..15367f06b660ad5d7fe70324b4047525fdfc0ac6 100644 |
--- a/base/deferred_sequenced_task_runner.cc |
+++ b/base/deferred_sequenced_task_runner.cc |
@@ -34,7 +34,7 @@ DeferredSequencedTaskRunner::~DeferredSequencedTaskRunner() { |
bool DeferredSequencedTaskRunner::PostDelayedTask( |
const tracked_objects::Location& from_here, |
- Closure task, |
+ OnceClosure task, |
TimeDelta delay) { |
AutoLock lock(lock_); |
if (started_) { |
@@ -54,7 +54,7 @@ bool DeferredSequencedTaskRunner::RunsTasksOnCurrentThread() const { |
bool DeferredSequencedTaskRunner::PostNonNestableDelayedTask( |
const tracked_objects::Location& from_here, |
- Closure task, |
+ OnceClosure task, |
TimeDelta delay) { |
AutoLock lock(lock_); |
if (started_) { |
@@ -69,7 +69,7 @@ bool DeferredSequencedTaskRunner::PostNonNestableDelayedTask( |
void DeferredSequencedTaskRunner::QueueDeferredTask( |
const tracked_objects::Location& from_here, |
- Closure task, |
+ OnceClosure task, |
TimeDelta delay, |
bool is_non_nestable) { |
DCHECK(task); |