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 |