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

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

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.h
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffect.h b/third_party/WebKit/Source/core/animation/KeyframeEffect.h
index 8f0e61a5925f1dd0340479db8712ef4bd095aef7..e496fbe4c38b43cc9b45e4b07923e8e728756888 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffect.h
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffect.h
@@ -40,7 +40,7 @@ namespace blink {
class Element;
class ExceptionState;
-class KeyframeEffectOptions;
+class UnrestrictedDoubleOrKeyframeEffectOptions;
// Represents the effect of an Animation on an Element's properties.
// http://w3c.github.io/web-animations/#keyframe-effect
@@ -59,13 +59,7 @@ class CORE_EXPORT KeyframeEffect final : public KeyframeEffectReadOnly {
ExecutionContext*,
Element*,
const DictionarySequenceOrDictionary& effect_input,
- double duration,
- ExceptionState&);
- static KeyframeEffect* Create(
- ExecutionContext*,
- Element*,
- const DictionarySequenceOrDictionary& effect_input,
- const KeyframeEffectOptions& timing_input,
+ const UnrestrictedDoubleOrKeyframeEffectOptions&,
ExceptionState&);
static KeyframeEffect* Create(
ExecutionContext*,

Powered by Google App Engine
This is Rietveld 408576698