| 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 a7718f685c5567072b912bc2d0374d27afb17331..2077d3023d3ac8953f5fc89fba708319215d45e3 100644
|
| --- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
|
| +++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
|
| @@ -27,6 +27,12 @@ class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
|
| public:
|
| enum Priority { DefaultPriority, TransitionPriority };
|
|
|
| + static KeyframeEffectReadOnly* create(Element*,
|
| + EffectModel*,
|
| + const Timing&,
|
| + Priority = DefaultPriority,
|
| + EventDelegate* = nullptr);
|
| + // Web Animations API Bindings constructors.
|
| static KeyframeEffectReadOnly* create(
|
| ExecutionContext*,
|
| Element*,
|
| @@ -111,8 +117,6 @@ class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
|
| Vector<int> m_compositorAnimationIds;
|
| };
|
|
|
| -// TODO(suzyh): Replace calls to toKeyframeEffect with toKeyframeEffectReadOnly
|
| -// where possible
|
| DEFINE_TYPE_CASTS(KeyframeEffectReadOnly,
|
| AnimationEffectReadOnly,
|
| animationNode,
|
|
|