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

Unified Diff: ash/test/task_switch_time_tracker_test_api.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 | « ash/test/task_switch_time_tracker_test_api.h ('k') | ash/test/test_keyboard_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/task_switch_time_tracker_test_api.cc
diff --git a/ash/test/task_switch_time_tracker_test_api.cc b/ash/test/task_switch_time_tracker_test_api.cc
index 797207e134574a88bdfb36c8daf9b4fda62c4814..654d39985070c0abbc538bb3833e86efa24a9982 100644
--- a/ash/test/task_switch_time_tracker_test_api.cc
+++ b/ash/test/task_switch_time_tracker_test_api.cc
@@ -14,7 +14,7 @@ TaskSwitchTimeTrackerTestAPI::TaskSwitchTimeTrackerTestAPI(
const std::string& histogram_name) {
tick_clock_ = new base::SimpleTestTickClock();
time_tracker_.reset(new TaskSwitchTimeTracker(
- histogram_name, scoped_ptr<base::TickClock>(tick_clock_)));
+ histogram_name, std::unique_ptr<base::TickClock>(tick_clock_)));
}
TaskSwitchTimeTrackerTestAPI::~TaskSwitchTimeTrackerTestAPI() {
« no previous file with comments | « ash/test/task_switch_time_tracker_test_api.h ('k') | ash/test/test_keyboard_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698