Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.cc |
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.cc b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.cc |
index d7cd3b5f500a8411f8339bfdbdfa7d0d9f5daf71..0893006ea22418d8ca15d7d2e1b2aa63fb1bb88b 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.cc |
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate_for_test.cc |
@@ -30,16 +30,17 @@ TaskQueueManagerDelegateForTest::~TaskQueueManagerDelegateForTest() {} |
bool TaskQueueManagerDelegateForTest::PostDelayedTask( |
const tracked_objects::Location& from_here, |
- const base::Closure& task, |
+ base::Closure task, |
base::TimeDelta delay) { |
- return task_runner_->PostDelayedTask(from_here, task, delay); |
+ return task_runner_->PostDelayedTask(from_here, std::move(task), delay); |
} |
bool TaskQueueManagerDelegateForTest::PostNonNestableDelayedTask( |
const tracked_objects::Location& from_here, |
- const base::Closure& task, |
+ base::Closure task, |
base::TimeDelta delay) { |
- return task_runner_->PostNonNestableDelayedTask(from_here, task, delay); |
+ return task_runner_->PostNonNestableDelayedTask(from_here, std::move(task), |
+ delay); |
} |
bool TaskQueueManagerDelegateForTest::RunsTasksOnCurrentThread() const { |