Index: ui/gfx/animation/animation_container_unittest.cc |
diff --git a/ui/gfx/animation/animation_container_unittest.cc b/ui/gfx/animation/animation_container_unittest.cc |
index bffe38788855b863a994d4abcc86bc1fcf92f068..b1bb7911e6a5a751d6e09aa191d1fe6ee4cf0d8a 100644 |
--- a/ui/gfx/animation/animation_container_unittest.cc |
+++ b/ui/gfx/animation/animation_container_unittest.cc |
@@ -4,8 +4,9 @@ |
#include "ui/gfx/animation/animation_container.h" |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/gfx/animation/animation_container_observer.h" |
#include "ui/gfx/animation/linear_animation.h" |
@@ -65,7 +66,7 @@ class AnimationContainerTest: public testing::Test { |
TEST_F(AnimationContainerTest, Ownership) { |
TestAnimationDelegate delegate; |
scoped_refptr<AnimationContainer> container(new AnimationContainer()); |
- scoped_ptr<Animation> animation(new TestAnimation(&delegate)); |
+ std::unique_ptr<Animation> animation(new TestAnimation(&delegate)); |
animation->SetContainer(container.get()); |
// Setting the container should up the ref count. |
EXPECT_FALSE(container->HasOneRef()); |