Index: Source/core/animation/Interpolation.cpp |
diff --git a/Source/core/animation/Interpolation.cpp b/Source/core/animation/Interpolation.cpp |
index e812e889d520cd0dd2728e5dbe4021959eefe5c6..6c11a0f4c7d08a4423fd9e11f70a2ab51614db84 100644 |
--- a/Source/core/animation/Interpolation.cpp |
+++ b/Source/core/animation/Interpolation.cpp |
@@ -5,6 +5,7 @@ |
#include "config.h" |
#include "core/animation/Interpolation.h" |
+#include "core/animation/AnimatableDouble.h" |
#include "core/css/resolver/AnimatedStyleBuilder.h" |
#include "core/css/resolver/StyleResolverState.h" |
@@ -70,8 +71,7 @@ void StyleInterpolation::trace(Visitor* visitor) |
void LegacyStyleInterpolation::apply(StyleResolverState& state) const |
{ |
- AnimatableValue* value = currentValue(); |
- AnimatedStyleBuilder::applyProperty(m_id, state, value); |
+ AnimatedStyleBuilder::applyProperty(m_id, state, currentValue().get()); |
} |
void LegacyStyleInterpolation::trace(Visitor* visitor) |