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 d1e7faf7df191e3e2d107aefab9b5158eef65151..5a62bb9cc9fdd14b93f4a8561295a19bacb5ad47 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
@@ -122,7 +122,7 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations) |
OwnPtr<CompositorFloatAnimationCurve> curve = adoptPtr(CompositorFactory::current().createFloatAnimationCurve()); |
curve->add(CompositorFloatKeyframe(0.0, 0.0)); |
- OwnPtr<CompositorAnimation> floatAnimation(adoptPtr(CompositorFactory::current().createAnimation(*curve, CompositorAnimation::TargetPropertyOpacity))); |
+ OwnPtr<CompositorAnimation> floatAnimation(adoptPtr(CompositorFactory::current().createAnimation(*curve, CompositorTargetProperty::OPACITY))); |
int animationId = floatAnimation->id(); |
if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled()) { |