Index: base/message_loop/message_loop_task_runner.cc |
diff --git a/base/message_loop/message_loop_task_runner.cc b/base/message_loop/message_loop_task_runner.cc |
index ddfdeb2b65b5dbf337edcf35457877ed38b2993e..aece087b7686f3cd39669bcce7eadb28d7469244 100644 |
--- a/base/message_loop/message_loop_task_runner.cc |
+++ b/base/message_loop/message_loop_task_runner.cc |
@@ -26,7 +26,7 @@ void MessageLoopTaskRunner::BindToCurrentThread() { |
bool MessageLoopTaskRunner::PostDelayedTask( |
const tracked_objects::Location& from_here, |
- Closure task, |
+ OnceClosure task, |
base::TimeDelta delay) { |
DCHECK(!task.is_null()) << from_here.ToString(); |
return incoming_queue_->AddToIncomingQueue(from_here, std::move(task), delay, |
@@ -35,7 +35,7 @@ bool MessageLoopTaskRunner::PostDelayedTask( |
bool MessageLoopTaskRunner::PostNonNestableDelayedTask( |
const tracked_objects::Location& from_here, |
- Closure task, |
+ OnceClosure task, |
base::TimeDelta delay) { |
DCHECK(!task.is_null()) << from_here.ToString(); |
return incoming_queue_->AddToIncomingQueue(from_here, std::move(task), delay, |