| Index: base/pending_task.cc
|
| diff --git a/base/pending_task.cc b/base/pending_task.cc
|
| index 73834bd46071ab61c0f902b599497a72a494c35c..fd2caf6e6cac8d4ceeccc1995b5c4304fcf9d356 100644
|
| --- a/base/pending_task.cc
|
| +++ b/base/pending_task.cc
|
| @@ -9,17 +9,16 @@
|
| namespace base {
|
|
|
| PendingTask::PendingTask(const tracked_objects::Location& posted_from,
|
| - base::Closure task)
|
| + base::OnceClosure task)
|
| : base::TrackingInfo(posted_from, TimeTicks()),
|
| task(std::move(task)),
|
| posted_from(posted_from),
|
| sequence_num(0),
|
| nestable(true),
|
| - is_high_res(false) {
|
| -}
|
| + is_high_res(false) {}
|
|
|
| PendingTask::PendingTask(const tracked_objects::Location& posted_from,
|
| - base::Closure task,
|
| + base::OnceClosure task,
|
| TimeTicks delayed_run_time,
|
| bool nestable)
|
| : base::TrackingInfo(posted_from, delayed_run_time),
|
| @@ -27,8 +26,7 @@ PendingTask::PendingTask(const tracked_objects::Location& posted_from,
|
| posted_from(posted_from),
|
| sequence_num(0),
|
| nestable(nestable),
|
| - is_high_res(false) {
|
| -}
|
| + is_high_res(false) {}
|
|
|
| PendingTask::PendingTask(PendingTask&& other) = default;
|
|
|
|
|