| Index: Source/core/animation/StyleInterpolation.h
|
| diff --git a/Source/core/animation/StyleInterpolation.h b/Source/core/animation/StyleInterpolation.h
|
| index 8f390627d0874d682a2d24450b2834c80e10e22f..5ce261e86e3b81f804279a49e4041fe6286e970c 100644
|
| --- a/Source/core/animation/StyleInterpolation.h
|
| +++ b/Source/core/animation/StyleInterpolation.h
|
| @@ -34,6 +34,9 @@ public:
|
| // (3) a custom value that is inserted directly into the StyleResolverState.
|
| virtual void apply(StyleResolverState&) const = 0;
|
|
|
| + // FIXME: Make abstract
|
| + virtual void apply(StyleResolverState& state, const InterpolableValue&) const { apply(state); }
|
| +
|
| virtual bool isStyleInterpolation() const override final { return true; }
|
|
|
| CSSPropertyID id() const { return m_id; }
|
| @@ -51,6 +54,12 @@ protected:
|
| , m_id(id)
|
| {
|
| }
|
| +
|
| + StyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id, AnimationEffect::CompositeOperation compositeStart, AnimationEffect::CompositeOperation compositeEnd)
|
| + : Interpolation(start, end, compositeStart, compositeEnd)
|
| + , m_id(id)
|
| + {
|
| + }
|
| };
|
|
|
| DEFINE_TYPE_CASTS(StyleInterpolation, Interpolation, value, value->isStyleInterpolation(), value.isStyleInterpolation());
|
|
|