| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
|
| index 79ba3f09ef10b021a901e7d2ad9909e42d778619..52168d1355442f7f71613542dd211dcdb6641de4 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
|
| @@ -24,7 +24,9 @@
|
|
|
| #include "platform/graphics/GraphicsLayer.h"
|
|
|
| +#include "platform/CompositorFactory.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| +#include "platform/animation/WebFloatAnimationCurve.h"
|
| #include "platform/scroll/ScrollableArea.h"
|
| #include "platform/transforms/Matrix3DTransformOperation.h"
|
| #include "platform/transforms/RotateTransformOperation.h"
|
| @@ -34,7 +36,6 @@
|
| #include "public/platform/WebCompositorAnimationPlayerClient.h"
|
| #include "public/platform/WebCompositorAnimationTimeline.h"
|
| #include "public/platform/WebCompositorSupport.h"
|
| -#include "public/platform/WebFloatAnimationCurve.h"
|
| #include "public/platform/WebGraphicsContext3D.h"
|
| #include "public/platform/WebLayer.h"
|
| #include "public/platform/WebLayerTreeView.h"
|
| @@ -119,7 +120,7 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations)
|
| {
|
| ASSERT_FALSE(m_platformLayer->hasActiveAnimation());
|
|
|
| - OwnPtr<WebFloatAnimationCurve> curve = adoptPtr(Platform::current()->compositorSupport()->createFloatAnimationCurve());
|
| + OwnPtr<WebFloatAnimationCurve> curve = adoptPtr(CompositorFactory::current().createFloatAnimationCurve());
|
| curve->add(WebFloatKeyframe(0.0, 0.0));
|
| OwnPtr<WebCompositorAnimation> floatAnimation(adoptPtr(Platform::current()->compositorSupport()->createAnimation(*curve, WebCompositorAnimation::TargetPropertyOpacity)));
|
| int animationId = floatAnimation->id();
|
|
|