| Index: base/task_runner.cc
|
| diff --git a/base/task_runner.cc b/base/task_runner.cc
|
| index 262e1f8b09eac8d9f91b4113ddeccc27a33323ad..7dc1e4af8785c3592009504cca81bada61029d3c 100644
|
| --- a/base/task_runner.cc
|
| +++ b/base/task_runner.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "base/task_runner.h"
|
|
|
| +#include "base/callback.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/logging.h"
|
| #include "base/threading/post_task_and_reply_impl.h"
|
| @@ -45,12 +46,11 @@ bool TaskRunner::PostTask(const tracked_objects::Location& from_here,
|
| return PostDelayedTask(from_here, task, base::TimeDelta());
|
| }
|
|
|
| -bool TaskRunner::PostTaskAndReply(
|
| - const tracked_objects::Location& from_here,
|
| - const Closure& task,
|
| - const Closure& reply) {
|
| +bool TaskRunner::PostTaskAndReply(const tracked_objects::Location& from_here,
|
| + Closure task,
|
| + Closure reply) {
|
| return PostTaskAndReplyTaskRunner(this).PostTaskAndReply(
|
| - from_here, task, reply);
|
| + from_here, std::move(task), std::move(reply));
|
| }
|
|
|
| TaskRunner::TaskRunner() {}
|
|
|