Index: Source/platform/graphics/GraphicsLayerTest.cpp |
diff --git a/Source/platform/graphics/GraphicsLayerTest.cpp b/Source/platform/graphics/GraphicsLayerTest.cpp |
index 0ac8cf8054114a0c8ac6aa3e9e1e0666bd458cb2..df17919d04ca8431f22eb141a1d539ecc0ae8054 100644 |
--- a/Source/platform/graphics/GraphicsLayerTest.cpp |
+++ b/Source/platform/graphics/GraphicsLayerTest.cpp |
@@ -100,7 +100,7 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations) |
OwnPtr<WebFloatAnimationCurve> curve = adoptPtr(Platform::current()->compositorSupport()->createFloatAnimationCurve()); |
curve->add(WebFloatKeyframe(0.0, 0.0)); |
- OwnPtr<WebAnimation> floatAnimation(adoptPtr(Platform::current()->compositorSupport()->createAnimation(*curve, WebAnimation::TargetPropertyOpacity))); |
+ OwnPtr<WebCompositorAnimation> floatAnimation(adoptPtr(Platform::current()->compositorSupport()->createAnimation(*curve, WebCompositorAnimation::TargetPropertyOpacity))); |
int animationId = floatAnimation->id(); |
ASSERT_TRUE(m_platformLayer->addAnimation(floatAnimation.leakPtr())); |