Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffect.idl

Issue 2814523002: Web Animations: Coalesce constructors where possible. (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/KeyframeEffect.idl
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffect.idl b/third_party/WebKit/Source/core/animation/KeyframeEffect.idl
index 95f94186adc736a63caa59b355f3bb4cb95e53ca..cc119b8e3176c4ba10d10d76a3ec441413a48f12 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffect.idl
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffect.idl
@@ -31,9 +31,7 @@
// https://w3c.github.io/web-animations/#the-keyframeeffect-interfaces
[
- // TODO(dstockwell): the third argument should be "optional (unrestricted double or KeyframeEffectOptions) timing".
- Constructor(Element? target, (sequence<Dictionary> or Dictionary)? effect, optional unrestricted double timing),
- Constructor(Element? target, (sequence<Dictionary> or Dictionary)? effect, KeyframeEffectOptions timing),
+ Constructor(Element? target, (sequence<Dictionary> or Dictionary)? effect, optional (unrestricted double or KeyframeEffectOptions) options),
ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
RuntimeEnabled=WebAnimationsAPI,

Powered by Google App Engine
This is Rietveld 408576698