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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.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/KeyframeEffectReadOnly.h
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
index df0ab656b6d83dca87461f0b9933cbb00ee2646d..b18d33b71ba565f727d985412e13892e897872fc 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
@@ -15,9 +15,9 @@ class DictionarySequenceOrDictionary;
class Element;
class ExceptionState;
class ExecutionContext;
-class KeyframeEffectOptions;
class PropertyHandle;
class SampledEffect;
+class UnrestrictedDoubleOrKeyframeEffectOptions;
// Represents the effect of an Animation on an Element's properties.
// http://w3c.github.io/web-animations/#the-keyframeeffect-interfaces
@@ -37,13 +37,7 @@ class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
ExecutionContext*,
Element*,
const DictionarySequenceOrDictionary& effect_input,
- double duration,
- ExceptionState&);
- static KeyframeEffectReadOnly* Create(
- ExecutionContext*,
- Element*,
- const DictionarySequenceOrDictionary& effect_input,
- const KeyframeEffectOptions& timing_input,
+ const UnrestrictedDoubleOrKeyframeEffectOptions&,
ExceptionState&);
static KeyframeEffectReadOnly* Create(
ExecutionContext*,

Powered by Google App Engine
This is Rietveld 408576698