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

Unified Diff: components/scheduler/child/scheduler_tqm_delegate_for_test.cc

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: no-media 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/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 ddd7a3a76425c9f4f5a8fef61174d033b16f2425..10e910f3b759a93fe790b1d4a9b41060bf9d8c48 100644
--- a/components/scheduler/child/scheduler_tqm_delegate_for_test.cc
+++ b/components/scheduler/child/scheduler_tqm_delegate_for_test.cc
@@ -29,7 +29,7 @@ SchedulerTqmDelegateForTest::~SchedulerTqmDelegateForTest() {}
void SchedulerTqmDelegateForTest::SetDefaultTaskRunner(
scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
- default_task_runner_ = task_runner.Pass();
+ default_task_runner_ = std::move(task_runner);
}
void SchedulerTqmDelegateForTest::RestoreDefaultTaskRunner() {
« no previous file with comments | « components/component_updater/component_updater_service.cc ('k') | components/scheduler/child/worker_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698