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

Unified Diff: ash/test/shelf_button_pressed_metric_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: 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
Index: ash/test/shelf_button_pressed_metric_tracker_test_api.cc
diff --git a/ash/test/shelf_button_pressed_metric_tracker_test_api.cc b/ash/test/shelf_button_pressed_metric_tracker_test_api.cc
index 895a4e38f7ba40254a21ae61888f692fc5a1ffa3..2145b677105143dfe81a42edfb63b6d5a4c689bd 100644
--- a/ash/test/shelf_button_pressed_metric_tracker_test_api.cc
+++ b/ash/test/shelf_button_pressed_metric_tracker_test_api.cc
@@ -20,7 +20,7 @@ ShelfButtonPressedMetricTrackerTestAPI::
}
void ShelfButtonPressedMetricTrackerTestAPI::SetTickClock(
- scoped_ptr<base::TickClock> tick_clock) {
+ std::unique_ptr<base::TickClock> tick_clock) {
shelf_button_pressed_metric_tracker_->tick_clock_.reset(tick_clock.release());
}

Powered by Google App Engine
This is Rietveld 408576698