| Index: third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp
|
| index 25d8fdcf312291caa8353c5292478aec55773af2..daa8206dc7cac27c65eb85a016064639f45ea6f7 100644
|
| --- a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp
|
| @@ -44,7 +44,7 @@ public:
|
| return m_player.get();
|
| }
|
|
|
| - OwnPtr<CompositorAnimationPlayer> m_player;
|
| + std::unique_ptr<CompositorAnimationPlayer> m_player;
|
| };
|
|
|
| class CompositorAnimationPlayerTest : public CompositorTest {
|
| @@ -56,7 +56,7 @@ TEST_F(CompositorAnimationPlayerTest, NullDelegate)
|
| {
|
| std::unique_ptr<CompositorAnimationDelegateForTesting> delegate(new CompositorAnimationDelegateForTesting);
|
|
|
| - OwnPtr<CompositorAnimationPlayer> player = CompositorAnimationPlayer::create();
|
| + std::unique_ptr<CompositorAnimationPlayer> player = CompositorAnimationPlayer::create();
|
| cc::AnimationPlayer* ccPlayer = player->animationPlayer();
|
|
|
| player->setAnimationDelegate(delegate.get());
|
| @@ -76,7 +76,7 @@ TEST_F(CompositorAnimationPlayerTest, NotifyFromCCAfterCompositorPlayerDeletion)
|
| {
|
| std::unique_ptr<CompositorAnimationDelegateForTesting> delegate(new CompositorAnimationDelegateForTesting);
|
|
|
| - OwnPtr<CompositorAnimationPlayer> player = CompositorAnimationPlayer::create();
|
| + std::unique_ptr<CompositorAnimationPlayer> player = CompositorAnimationPlayer::create();
|
| scoped_refptr<cc::AnimationPlayer> ccPlayer = player->animationPlayer();
|
|
|
| player->setAnimationDelegate(delegate.get());
|
| @@ -92,7 +92,7 @@ TEST_F(CompositorAnimationPlayerTest, NotifyFromCCAfterCompositorPlayerDeletion)
|
|
|
| TEST_F(CompositorAnimationPlayerTest, CompositorPlayerDeletionDetachesFromCCTimeline)
|
| {
|
| - OwnPtr<CompositorAnimationTimeline> timeline = CompositorAnimationTimeline::create();
|
| + std::unique_ptr<CompositorAnimationTimeline> timeline = CompositorAnimationTimeline::create();
|
| std::unique_ptr<CompositorAnimationPlayerTestClient> client(new CompositorAnimationPlayerTestClient);
|
|
|
| scoped_refptr<cc::AnimationTimeline> ccTimeline = timeline->animationTimeline();
|
|
|