Index: Source/platform/graphics/GraphicsLayerTest.cpp |
diff --git a/Source/platform/graphics/GraphicsLayerTest.cpp b/Source/platform/graphics/GraphicsLayerTest.cpp |
index 63984153d8527a30ba958cf59691a5fbf1d0b467..e4952c5c7d57f0913c189f982ec2b87c65a14c72 100644 |
--- a/Source/platform/graphics/GraphicsLayerTest.cpp |
+++ b/Source/platform/graphics/GraphicsLayerTest.cpp |
@@ -101,7 +101,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())); |