Index: Source/core/animation/interpolation/LegacyStyleInterpolation.h |
diff --git a/Source/core/animation/interpolation/LegacyStyleInterpolation.h b/Source/core/animation/interpolation/LegacyStyleInterpolation.h |
index d16bd994f4a921380f03b7dd63eb772d3125ed49..7a97621dc1c000b1fcca51386423fb3028f1f751 100644 |
--- a/Source/core/animation/interpolation/LegacyStyleInterpolation.h |
+++ b/Source/core/animation/interpolation/LegacyStyleInterpolation.h |
@@ -25,8 +25,7 @@ public: |
virtual bool isLegacyStyleInterpolation() const OVERRIDE FINAL { return true; } |
PassRefPtrWillBeRawPtr<AnimatableValue> currentValue() const |
{ |
- InterpolableAnimatableValue* value = static_cast<InterpolableAnimatableValue*>(m_cachedValue.get()); |
- return value->value(); |
+ return toInterpolableAnimatableValue(m_cachedValue.get())->value(); |
} |
virtual void trace(Visitor* visitor) OVERRIDE |