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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.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/KeyframeEffectReadOnly.idl
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.idl b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.idl
index f270b2b5e27a840f782944b10bd85b9f2fb0ce03..c4d024f2c4cd34e7ae6052412769fc01a41382b3 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.idl
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.idl
@@ -5,9 +5,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