Index: components/scheduler/renderer/renderer_scheduler_impl_unittest.cc |
diff --git a/components/scheduler/renderer/renderer_scheduler_impl_unittest.cc b/components/scheduler/renderer/renderer_scheduler_impl_unittest.cc |
index d11fcf92f29a2cc3b3074c60c64e0edc40b51c27..ad7b47a20cba8504ed1cbe207859f60e99df0530 100644 |
--- a/components/scheduler/renderer/renderer_scheduler_impl_unittest.cc |
+++ b/components/scheduler/renderer/renderer_scheduler_impl_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "components/scheduler/renderer/renderer_scheduler_impl.h" |
+#include <utility> |
+ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/test/simple_test_tick_clock.h" |
@@ -251,7 +253,7 @@ class RendererSchedulerImplTest : public testing::Test { |
} |
void Initialize(scoped_ptr<RendererSchedulerImplForTest> scheduler) { |
- scheduler_ = scheduler.Pass(); |
+ scheduler_ = std::move(scheduler); |
default_task_runner_ = scheduler_->DefaultTaskRunner(); |
compositor_task_runner_ = scheduler_->CompositorTaskRunner(); |
loading_task_runner_ = scheduler_->LoadingTaskRunner(); |