Index: base/task_scheduler/task.h |
diff --git a/base/task_scheduler/task.h b/base/task_scheduler/task.h |
index 1f3b775a231903bbb2fcdb681ce7da9999a51b59..43095f2ae7c2e59fe92f51cfd8ba65e8275cfb68 100644 |
--- a/base/task_scheduler/task.h |
+++ b/base/task_scheduler/task.h |
@@ -28,7 +28,7 @@ struct BASE_EXPORT Task : public PendingTask { |
// behavior in |traits| is BLOCK_SHUTDOWN, the shutdown behavior is |
// automatically adjusted to SKIP_ON_SHUTDOWN. |
Task(const tracked_objects::Location& posted_from, |
- Closure task, |
+ OnceClosure task, |
const TaskTraits& traits, |
TimeDelta delay); |
~Task(); |