Index: Source/core/animation/ElementAnimation.h |
diff --git a/Source/core/animation/ElementAnimation.h b/Source/core/animation/ElementAnimation.h |
index a083423cedf912cfaf68eb91ac648edb3dbdf1e4..8894b31a4a8dbee8dd4c3e822786436d4632ffee 100644 |
--- a/Source/core/animation/ElementAnimation.h |
+++ b/Source/core/animation/ElementAnimation.h |
@@ -109,11 +109,8 @@ public: |
private: |
static AnimationPlayer* animateInternal(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing) |
{ |
- if (RuntimeEnabledFeatures::webAnimationsElementAnimateEnabled()) { |
- RefPtrWillBeRawPtr<Animation> animation = Animation::create(&element, effect, timing); |
- return element.document().timeline().play(animation.get()); |
- } |
- return 0; |
+ RefPtrWillBeRawPtr<Animation> animation = Animation::create(&element, effect, timing); |
+ return element.document().timeline().play(animation.get()); |
} |
}; |