| Index: base/task_scheduler/post_task.h
|
| diff --git a/base/task_scheduler/post_task.h b/base/task_scheduler/post_task.h
|
| index 3174f06d63b11369079b84791aea2fb425bd23eb..2e0aeddf84daa2e715977471c2aeb2482b7f76ba 100644
|
| --- a/base/task_scheduler/post_task.h
|
| +++ b/base/task_scheduler/post_task.h
|
| @@ -70,7 +70,7 @@ namespace base {
|
| // Posts |task| to the TaskScheduler. Calling this is equivalent to calling
|
| // PostTaskWithTraits with plain TaskTraits.
|
| BASE_EXPORT void PostTask(const tracked_objects::Location& from_here,
|
| - const Closure& task);
|
| + Closure task);
|
|
|
| // Posts |task| to the TaskScheduler. |task| will not run before |delay|
|
| // expires. Calling this is equivalent to calling PostDelayedTaskWithTraits with
|
| @@ -79,7 +79,7 @@ BASE_EXPORT void PostTask(const tracked_objects::Location& from_here,
|
| // Use PostDelayedTaskWithTraits to specify a BACKGROUND priority if the task
|
| // doesn't have to run as soon as |delay| expires.
|
| BASE_EXPORT void PostDelayedTask(const tracked_objects::Location& from_here,
|
| - const Closure& task,
|
| + Closure task,
|
| TimeDelta delay);
|
|
|
| // Posts |task| to the TaskScheduler and posts |reply| on the caller's execution
|
| @@ -107,7 +107,7 @@ void PostTaskAndReplyWithResult(const tracked_objects::Location& from_here,
|
| // Posts |task| with specific |traits| to the TaskScheduler.
|
| BASE_EXPORT void PostTaskWithTraits(const tracked_objects::Location& from_here,
|
| const TaskTraits& traits,
|
| - const Closure& task);
|
| + Closure task);
|
|
|
| // Posts |task| with specific |traits| to the TaskScheduler. |task| will not run
|
| // before |delay| expires.
|
| @@ -117,7 +117,7 @@ BASE_EXPORT void PostTaskWithTraits(const tracked_objects::Location& from_here,
|
| BASE_EXPORT void PostDelayedTaskWithTraits(
|
| const tracked_objects::Location& from_here,
|
| const TaskTraits& traits,
|
| - const Closure& task,
|
| + Closure task,
|
| TimeDelta delay);
|
|
|
| // Posts |task| with specific |traits| to the TaskScheduler and posts |reply| on
|
|
|