Index: Source/core/animation/ElementAnimation.h |
diff --git a/Source/core/animation/ElementAnimation.h b/Source/core/animation/ElementAnimation.h |
index 51775ff9526cdc7d61c18d9c26dd412bb9ee653e..52a099eb61eef231df5d0a7127373b58b4329965 100644 |
--- a/Source/core/animation/ElementAnimation.h |
+++ b/Source/core/animation/ElementAnimation.h |
@@ -77,7 +77,7 @@ public: |
private: |
static AnimationPlayer* animateInternal(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing) |
{ |
- if (RuntimeEnabledFeatures::webAnimationsAPIEnabled()) { |
+ if (RuntimeEnabledFeatures::webAnimationsElementAnimateEnabled()) { |
RefPtr<Animation> animation = Animation::create(&element, effect, timing); |
return element.document().timeline().play(animation.get()); |
} |