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

Unified Diff: ash/test/shelf_view_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
Index: ash/test/shelf_view_test_api.cc
diff --git a/ash/test/shelf_view_test_api.cc b/ash/test/shelf_view_test_api.cc
index 780274eb64e9739cf8cb2224830aa8291f6d8181..53ef6c78195cdd7473e9dff31dc8ccc0c572bd7f 100644
--- a/ash/test/shelf_view_test_api.cc
+++ b/ash/test/shelf_view_test_api.cc
@@ -87,7 +87,8 @@ void ShelfViewTestAPI::RunMessageLoopUntilAnimationsDone() {
if (!shelf_view_->bounds_animator_->IsAnimating())
return;
- scoped_ptr<TestAPIAnimationObserver> observer(new TestAPIAnimationObserver());
+ std::unique_ptr<TestAPIAnimationObserver> observer(
+ new TestAPIAnimationObserver());
shelf_view_->bounds_animator_->AddObserver(observer.get());
// This nested loop will quit when TestAPIAnimationObserver's
« no previous file with comments | « ash/test/shelf_button_pressed_metric_tracker_test_api.cc ('k') | ash/test/task_switch_time_tracker_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698