Index: base/task_scheduler/scheduler_lock_impl.cc |
diff --git a/base/task_scheduler/scheduler_lock_impl.cc b/base/task_scheduler/scheduler_lock_impl.cc |
index 609ea222596e082cb55317554cd6dd5231318388..7480e18da164edea00b7cafaed5d6e32ac86d835 100644 |
--- a/base/task_scheduler/scheduler_lock_impl.cc |
+++ b/base/task_scheduler/scheduler_lock_impl.cc |
@@ -136,8 +136,9 @@ void SchedulerLockImpl::AssertAcquired() const { |
lock_.AssertAcquired(); |
} |
-scoped_ptr<ConditionVariable> SchedulerLockImpl::CreateConditionVariable() { |
- return scoped_ptr<ConditionVariable>(new ConditionVariable(&lock_)); |
+std::unique_ptr<ConditionVariable> |
+SchedulerLockImpl::CreateConditionVariable() { |
+ return std::unique_ptr<ConditionVariable>(new ConditionVariable(&lock_)); |
} |
} // namespace internal |