Index: ui/views/animation/ink_drop_animation_controller_factory.cc |
diff --git a/ui/views/animation/ink_drop_animation_controller_factory.cc b/ui/views/animation/ink_drop_animation_controller_factory.cc |
index 19bae013b571ec2255fc21fc7ceeb49019401c3b..17bc202a48343f7b4a3b85c342a82539d009c208 100644 |
--- a/ui/views/animation/ink_drop_animation_controller_factory.cc |
+++ b/ui/views/animation/ink_drop_animation_controller_factory.cc |
@@ -59,15 +59,15 @@ InkDropAnimationControllerFactory::InkDropAnimationControllerFactory() {} |
InkDropAnimationControllerFactory::~InkDropAnimationControllerFactory() {} |
-scoped_ptr<InkDropAnimationController> |
+std::unique_ptr<InkDropAnimationController> |
InkDropAnimationControllerFactory::CreateInkDropAnimationController( |
InkDropHost* ink_drop_host) { |
if (ui::MaterialDesignController::IsModeMaterial()) { |
- return scoped_ptr<InkDropAnimationController>( |
+ return std::unique_ptr<InkDropAnimationController>( |
new InkDropAnimationControllerImpl(ink_drop_host)); |
} |
- return scoped_ptr<InkDropAnimationController>( |
+ return std::unique_ptr<InkDropAnimationController>( |
new InkDropAnimationControllerStub()); |
} |