Index: ui/gfx/animation/slide_animation_unittest.cc |
diff --git a/ui/gfx/animation/slide_animation_unittest.cc b/ui/gfx/animation/slide_animation_unittest.cc |
index 07ebfc47066b6814912d75d08b80037831606c78..b22dab77ca9279481e3c72384f3833d9f3dcae00 100644 |
--- a/ui/gfx/animation/slide_animation_unittest.cc |
+++ b/ui/gfx/animation/slide_animation_unittest.cc |
@@ -4,8 +4,9 @@ |
#include "ui/gfx/animation/slide_animation.h" |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/gfx/animation/test_animation_delegate.h" |
@@ -90,7 +91,7 @@ TEST_F(SlideAnimationTest, Basics) { |
// (Such a scenario would cause problems for BoundsAnimator). |
TEST_F(SlideAnimationTest, DontNotifyOnDelete) { |
TestAnimationDelegate delegate; |
- scoped_ptr<SlideAnimation> animation(new SlideAnimation(&delegate)); |
+ std::unique_ptr<SlideAnimation> animation(new SlideAnimation(&delegate)); |
// Start the animation. |
animation->Show(); |