Index: third_party/WebKit/Source/platform/animation/CompositorAnimationTimelineTest.cpp |
diff --git a/third_party/WebKit/Source/platform/animation/CompositorAnimationTimelineTest.cpp b/third_party/WebKit/Source/platform/animation/CompositorAnimationTimelineTest.cpp |
index c4d4d5d006fd0d508be3096a2786f88d093c6764..99912f9884f1aded3fd2a75c43a2cc1e51ae19d1 100644 |
--- a/third_party/WebKit/Source/platform/animation/CompositorAnimationTimelineTest.cpp |
+++ b/third_party/WebKit/Source/platform/animation/CompositorAnimationTimelineTest.cpp |
@@ -9,8 +9,6 @@ |
#include "platform/animation/CompositorAnimationPlayer.h" |
#include "platform/testing/CompositorTest.h" |
#include "platform/testing/WebLayerTreeViewImplForTesting.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
@@ -19,12 +17,12 @@ class CompositorAnimationTimelineTest : public CompositorTest { |
TEST_F(CompositorAnimationTimelineTest, CompositorTimelineDeletionDetachesFromAnimationHost) |
{ |
- std::unique_ptr<CompositorAnimationTimeline> timeline = CompositorAnimationTimeline::create(); |
+ OwnPtr<CompositorAnimationTimeline> timeline = CompositorAnimationTimeline::create(); |
scoped_refptr<cc::AnimationTimeline> ccTimeline = timeline->animationTimeline(); |
EXPECT_FALSE(ccTimeline->animation_host()); |
- std::unique_ptr<WebLayerTreeView> layerTreeHost = wrapUnique(new WebLayerTreeViewImplForTesting); |
+ OwnPtr<WebLayerTreeView> layerTreeHost = adoptPtr(new WebLayerTreeViewImplForTesting); |
DCHECK(layerTreeHost); |
layerTreeHost->attachCompositorAnimationTimeline(timeline->animationTimeline()); |