Index: components/scheduler/child/scheduler_tqm_delegate_for_test.cc |
diff --git a/components/scheduler/child/scheduler_tqm_delegate_for_test.cc b/components/scheduler/child/scheduler_tqm_delegate_for_test.cc |
index 10e910f3b759a93fe790b1d4a9b41060bf9d8c48..857bb3e47586872814f4803c964afa7fa36cbc73 100644 |
--- a/components/scheduler/child/scheduler_tqm_delegate_for_test.cc |
+++ b/components/scheduler/child/scheduler_tqm_delegate_for_test.cc |
@@ -4,6 +4,8 @@ |
#include "components/scheduler/child/scheduler_tqm_delegate_for_test.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "components/scheduler/base/task_queue_manager_delegate_for_test.h" |
@@ -15,7 +17,7 @@ scoped_refptr<SchedulerTqmDelegateForTest> SchedulerTqmDelegateForTest::Create( |
scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
scoped_ptr<base::TickClock> time_source) { |
return make_scoped_refptr( |
- new SchedulerTqmDelegateForTest(task_runner, time_source.Pass())); |
+ new SchedulerTqmDelegateForTest(task_runner, std::move(time_source))); |
} |
SchedulerTqmDelegateForTest::SchedulerTqmDelegateForTest( |
@@ -23,7 +25,7 @@ SchedulerTqmDelegateForTest::SchedulerTqmDelegateForTest( |
scoped_ptr<base::TickClock> time_source) |
: task_runner_( |
TaskQueueManagerDelegateForTest::Create(task_runner, |
- time_source.Pass())) {} |
+ std::move(time_source))) {} |
SchedulerTqmDelegateForTest::~SchedulerTqmDelegateForTest() {} |