| Index: Source/core/animation/InterpolationEffect.h
|
| diff --git a/Source/core/animation/InterpolationEffect.h b/Source/core/animation/InterpolationEffect.h
|
| index f6c4f0d1b73eaac65a0ed3d76fe1ca7c13fd3bdb..be2463bd676de98d1a4bcaf0b55811b28783e38e 100644
|
| --- a/Source/core/animation/InterpolationEffect.h
|
| +++ b/Source/core/animation/InterpolationEffect.h
|
| @@ -30,6 +30,13 @@ public:
|
|
|
| void addInterpolationsFromKeyframes(CSSPropertyID, Element*, Keyframe::PropertySpecificKeyframe& keyframeA, Keyframe::PropertySpecificKeyframe& keyframeB, double applyFrom, double applyTo);
|
|
|
| + template<typename T>
|
| + inline void forEachInterpolation(const T& callback)
|
| + {
|
| + for (auto& record : m_interpolations)
|
| + callback(*record->m_interpolation);
|
| + }
|
| +
|
| void trace(Visitor*);
|
|
|
| private:
|
|
|