| Index: Source/core/animation/InvalidatableStyleInterpolation.h
|
| diff --git a/Source/core/animation/InvalidatableStyleInterpolation.h b/Source/core/animation/InvalidatableStyleInterpolation.h
|
| index 1a75ff2d4b59c9b0ea9747cc0352e94e2d01bcba..555ee0ca47ebea5a9667231f7359ad77962fe104 100644
|
| --- a/Source/core/animation/InvalidatableStyleInterpolation.h
|
| +++ b/Source/core/animation/InvalidatableStyleInterpolation.h
|
| @@ -5,8 +5,8 @@
|
| #ifndef InvalidatableStyleInterpolation_h
|
| #define InvalidatableStyleInterpolation_h
|
|
|
| -#include "core/animation/AnimationType.h"
|
| -#include "core/animation/AnimationValue.h"
|
| +#include "core/animation/InterpolationType.h"
|
| +#include "core/animation/InterpolationValue.h"
|
| #include "core/animation/PrimitiveInterpolation.h"
|
| #include "core/animation/StyleInterpolation.h"
|
|
|
| @@ -18,11 +18,11 @@ namespace blink {
|
| class CORE_EXPORT InvalidatableStyleInterpolation : public StyleInterpolation {
|
| public:
|
| static PassRefPtrWillBeRawPtr<InvalidatableStyleInterpolation> create(
|
| - const Vector<const AnimationType*>& animationTypes,
|
| + const Vector<const InterpolationType*>& InterpolationTypes,
|
| const CSSPropertySpecificKeyframe& startKeyframe,
|
| const CSSPropertySpecificKeyframe& endKeyframe)
|
| {
|
| - return adoptRefWillBeNoop(new InvalidatableStyleInterpolation(animationTypes, startKeyframe, endKeyframe));
|
| + return adoptRefWillBeNoop(new InvalidatableStyleInterpolation(InterpolationTypes, startKeyframe, endKeyframe));
|
| }
|
|
|
| virtual void interpolate(int iteration, double fraction);
|
| @@ -40,22 +40,22 @@ public:
|
|
|
| private:
|
| InvalidatableStyleInterpolation(
|
| - const Vector<const AnimationType*>& animationTypes,
|
| + const Vector<const InterpolationType*>& InterpolationTypes,
|
| const CSSPropertySpecificKeyframe& startKeyframe,
|
| const CSSPropertySpecificKeyframe& endKeyframe);
|
|
|
| void ensureValidInterpolation(const StyleResolverState&) const;
|
| bool isCacheValid(const StyleResolverState&) const;
|
| bool maybeCachePairwiseConversion(const StyleResolverState*) const;
|
| - PassOwnPtrWillBeRawPtr<AnimationValue> convertSingleKeyframe(const CSSPropertySpecificKeyframe&, const StyleResolverState&) const;
|
| + PassOwnPtrWillBeRawPtr<InterpolationValue> convertSingleKeyframe(const CSSPropertySpecificKeyframe&, const StyleResolverState&) const;
|
|
|
| - const Vector<const AnimationType*>& m_animationTypes;
|
| + const Vector<const InterpolationType*>& m_interpolationTypes;
|
| const CSSPropertySpecificKeyframe& m_startKeyframe;
|
| const CSSPropertySpecificKeyframe& m_endKeyframe;
|
| double m_currentFraction;
|
| mutable OwnPtrWillBeMember<PrimitiveInterpolation> m_cachedConversion;
|
| - mutable AnimationType::ConversionCheckers m_conversionCheckers;
|
| - mutable OwnPtrWillBeMember<AnimationValue> m_cachedValue;
|
| + mutable InterpolationType::ConversionCheckers m_conversionCheckers;
|
| + mutable OwnPtrWillBeMember<InterpolationValue> m_cachedValue;
|
| };
|
|
|
| DEFINE_TYPE_CASTS(InvalidatableStyleInterpolation, Interpolation, value, value->isInvalidatableStyleInterpolation(), value.isInvalidatableStyleInterpolation());
|
|
|