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

Unified Diff: base/task_scheduler/scheduler_lock.cc

Issue 1705253002: TaskScheduler [3/9] Task and Sequence (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s_1_scheduler_lock
Patch Set: self review Created 4 years, 10 months 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: base/task_scheduler/scheduler_lock.cc
diff --git a/base/task_scheduler/scheduler_lock.cc b/base/task_scheduler/scheduler_lock.cc
index 78e61da97f5b3583a2b3e971c4b11ef62b377b3f..34b1c23a7bbecb4a3afa3f8bda1c0ef8284a9053 100644
--- a/base/task_scheduler/scheduler_lock.cc
+++ b/base/task_scheduler/scheduler_lock.cc
@@ -132,7 +132,7 @@ void SchedulerLock::Release() {
scoped_ptr<ConditionVariable> SchedulerLock::CreateConditionVariable() {
scoped_ptr<ConditionVariable> cond_var(new ConditionVariable(&lock_));
- return std::move(cond_var);
+ return cond_var;
}
} // namespace internal
« no previous file with comments | « base/base.gypi ('k') | base/task_scheduler/sequence.h » ('j') | base/task_scheduler/sequence.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698