Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: components/scheduler/renderer/renderer_scheduler_impl_unittest.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « components/scheduler/renderer/renderer_scheduler_impl.cc ('k') | components/scheduler/renderer/web_view_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698