Index: Source/core/animation/AnimatableValueKeyframe.cpp |
diff --git a/Source/core/animation/AnimatableValueKeyframe.cpp b/Source/core/animation/AnimatableValueKeyframe.cpp |
index b131b0ebb3e51a952d5fc6b184116c3fce4d41e3..1518a16624b8124667e9cd1f5094155cc17c116e 100644 |
--- a/Source/core/animation/AnimatableValueKeyframe.cpp |
+++ b/Source/core/animation/AnimatableValueKeyframe.cpp |
@@ -6,6 +6,7 @@ |
#include "core/animation/AnimatableValueKeyframe.h" |
#include "core/animation/Interpolation.h" |
+#include "core/animation/LegacyStyleInterpolation.h" |
namespace WebCore { |
@@ -63,7 +64,7 @@ PassOwnPtrWillBeRawPtr<Keyframe::PropertySpecificKeyframe> AnimatableValueKeyfra |
PassRefPtrWillBeRawPtr<Interpolation> AnimatableValueKeyframe::PropertySpecificKeyframe::createInterpolation(CSSPropertyID property, Keyframe::PropertySpecificKeyframe* end, Element*) const |
{ |
AnimatableValuePropertySpecificKeyframe* to = toAnimatableValuePropertySpecificKeyframe(end); |
- return LegacyStyleInterpolation::create(value(), to->value(), property); |
+ return LegacyStyleInterpolation::create(InterpolableAnimatableValue::create(value()), InterpolableAnimatableValue::create(to->value()), property); |
} |
PassOwnPtrWillBeRawPtr<Keyframe::PropertySpecificKeyframe> AnimatableValueKeyframe::PropertySpecificKeyframe::neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const |