Index: Source/core/animation/ElementAnimation.idl |
diff --git a/Source/core/animation/ElementAnimation.idl b/Source/core/animation/ElementAnimation.idl |
index 289f8afb1233879827252e207c4f5b6a9396d491..e38387e55fe8251dea82cb9e73dbd62c1f7a0bf1 100644 |
--- a/Source/core/animation/ElementAnimation.idl |
+++ b/Source/core/animation/ElementAnimation.idl |
@@ -37,8 +37,8 @@ |
partial interface Element { |
// FIXME: Union types with dictionary type members doesn't work (yet). |
- // AnimationPlayer animate((AnimationEffect or sequence<Dictionary>)? effect, optional (double or AnimationTimingProperties) timing); |
- [RaisesException] AnimationPlayer animate((AnimationEffect or sequence<Dictionary>)? effect, optional double timing); |
- [RaisesException] AnimationPlayer animate((AnimationEffect or sequence<Dictionary>)? effect, AnimationTimingProperties timing); |
- [RuntimeEnabled=WebAnimationsAPI] sequence<AnimationPlayer> getAnimationPlayers(); |
+ // Animation animate((EffectModel or sequence<Dictionary>)? effect, optional (double or KeyframeEffectOptions) timing); |
+ [RaisesException] Animation animate((EffectModel or sequence<Dictionary>)? effect, optional double timing); |
+ [RaisesException] Animation animate((EffectModel or sequence<Dictionary>)? effect, KeyframeEffectOptions timing); |
+ [RuntimeEnabled=WebAnimationsAPI] sequence<Animation> getAnimations(); |
}; |