Index: base/task_scheduler/task.h |
diff --git a/base/task_scheduler/task.h b/base/task_scheduler/task.h |
index 2b53c690fddffc752ce63ec98b900a0b34f06674..6e889511895bfc2276765bd7f6709b8471f0ab08 100644 |
--- a/base/task_scheduler/task.h |
+++ b/base/task_scheduler/task.h |
@@ -26,7 +26,7 @@ struct BASE_EXPORT Task : public PendingTask { |
// to run. |traits| is metadata about the task. |delay| is a delay that must |
// expire before the Task runs. |
Task(const tracked_objects::Location& posted_from, |
- const Closure& task, |
+ OnceClosure task, |
const TaskTraits& traits, |
const TimeDelta& delay); |
~Task(); |