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

Unified Diff: base/task_scheduler/sequence_unittest.cc

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 years, 8 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
« no previous file with comments | « base/task_scheduler/sequence.cc ('k') | base/task_scheduler/task_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/sequence_unittest.cc
diff --git a/base/task_scheduler/sequence_unittest.cc b/base/task_scheduler/sequence_unittest.cc
index d81fece03fee7488ee93743d95962777a040b659..17826a013fe7bd5cd8a3235b96ee82daa412b6f1 100644
--- a/base/task_scheduler/sequence_unittest.cc
+++ b/base/task_scheduler/sequence_unittest.cc
@@ -44,11 +44,11 @@ class TaskSchedulerSequenceTest : public testing::Test {
protected:
// Tasks to be handed off to a Sequence for testing.
- scoped_ptr<Task> task_a_owned_;
- scoped_ptr<Task> task_b_owned_;
- scoped_ptr<Task> task_c_owned_;
- scoped_ptr<Task> task_d_owned_;
- scoped_ptr<Task> task_e_owned_;
+ std::unique_ptr<Task> task_a_owned_;
+ std::unique_ptr<Task> task_b_owned_;
+ std::unique_ptr<Task> task_c_owned_;
+ std::unique_ptr<Task> task_d_owned_;
+ std::unique_ptr<Task> task_e_owned_;
// Raw pointers to those same tasks for verification. This is needed because
// the scoped_ptrs above no longer point to the tasks once they have been
« no previous file with comments | « base/task_scheduler/sequence.cc ('k') | base/task_scheduler/task_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698