Index: components/scheduler/child/idle_helper_unittest.cc |
diff --git a/components/scheduler/child/idle_helper_unittest.cc b/components/scheduler/child/idle_helper_unittest.cc |
index 2269a07693c1a9dbb4e806060b5d8e80b36ebbe1..03b04474349b810db0704f0e312907c9e59da6f7 100644 |
--- a/components/scheduler/child/idle_helper_unittest.cc |
+++ b/components/scheduler/child/idle_helper_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "components/scheduler/child/idle_helper.h" |
+#include <utility> |
+ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/test/simple_test_tick_clock.h" |
@@ -134,10 +136,10 @@ scoped_refptr<SchedulerTqmDelegate> CreateTaskRunnerDelegate( |
scoped_ptr<TestTimeSource> test_time_source) { |
if (message_loop) |
return SchedulerTqmDelegateImpl::Create(message_loop, |
- test_time_source.Pass()); |
+ std::move(test_time_source)); |
return SchedulerTqmDelegateForTest::Create(mock_task_runner, |
- test_time_source.Pass()); |
+ std::move(test_time_source)); |
} |
}; // namespace |