Index: third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.cc |
diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.cc b/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.cc |
index 5656c705d4cd773d8d2a7edf33590fd57c48aa35..ad6fa035f853fcc701959799af76f5151b0a1ac0 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.cc |
+++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.cc |
@@ -41,16 +41,17 @@ void SchedulerTqmDelegateForTest::RestoreDefaultTaskRunner() { |
bool SchedulerTqmDelegateForTest::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 SchedulerTqmDelegateForTest::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 SchedulerTqmDelegateForTest::RunsTasksOnCurrentThread() const { |