| Index: Source/core/animation/InterpolationEffect.h
|
| diff --git a/Source/core/animation/InterpolationEffect.h b/Source/core/animation/InterpolationEffect.h
|
| index f6c4f0d1b73eaac65a0ed3d76fe1ca7c13fd3bdb..6c885e6c0f2d660c838bb47499ac8218d1faca19 100644
|
| --- a/Source/core/animation/InterpolationEffect.h
|
| +++ b/Source/core/animation/InterpolationEffect.h
|
| @@ -5,8 +5,10 @@
|
| #ifndef InterpolationEffect_h
|
| #define InterpolationEffect_h
|
|
|
| +#include "core/animation/DeferredLegacyStyleInterpolation.h"
|
| #include "core/animation/Interpolation.h"
|
| #include "core/animation/Keyframe.h"
|
| +#include "core/animation/StyleInterpolation.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/animation/TimingFunction.h"
|
| #include "wtf/PassOwnPtr.h"
|
| @@ -30,6 +32,14 @@ public:
|
|
|
| void addInterpolationsFromKeyframes(CSSPropertyID, Element*, Keyframe::PropertySpecificKeyframe& keyframeA, Keyframe::PropertySpecificKeyframe& keyframeB, double applyFrom, double applyTo);
|
|
|
| + void setDeferredInterpolationsOutdated()
|
| + {
|
| + for (auto& record : m_interpolations) {
|
| + if (record->m_interpolation->isStyleInterpolation() && toStyleInterpolation(record->m_interpolation.get())->isDeferredLegacyStyleInterpolation())
|
| + toDeferredLegacyStyleInterpolation(toStyleInterpolation(record->m_interpolation.get()))->setOutdated();
|
| + }
|
| + }
|
| +
|
| void trace(Visitor*);
|
|
|
| private:
|
|
|