Index: Source/core/animation/AnimatableSVGLength.cpp |
diff --git a/Source/core/animation/AnimatableSVGLength.cpp b/Source/core/animation/AnimatableSVGLength.cpp |
index 97f4158d0b31cbfe140a301af37d8c440d0cfc37..e370a62d6a172c62f2c9ca8b7f862607f4bb633d 100644 |
--- a/Source/core/animation/AnimatableSVGLength.cpp |
+++ b/Source/core/animation/AnimatableSVGLength.cpp |
@@ -37,7 +37,7 @@ namespace WebCore { |
PassRefPtr<AnimatableValue> AnimatableSVGLength::interpolateTo(const AnimatableValue* value, double fraction) const |
{ |
- return create(toAnimatableSVGLength(value)->toSVGLength().blend(m_length, narrowPrecisionToFloat(fraction))); |
+ return create(toAnimatableSVGLength(value)->toSVGLength()->blend(m_length.get(), narrowPrecisionToFloat(fraction))); |
} |
PassRefPtr<AnimatableValue> AnimatableSVGLength::addWith(const AnimatableValue* value) const |
@@ -48,7 +48,7 @@ PassRefPtr<AnimatableValue> AnimatableSVGLength::addWith(const AnimatableValue* |
bool AnimatableSVGLength::equalTo(const AnimatableValue* value) const |
{ |
- return m_length == toAnimatableSVGLength(value)->m_length; |
+ return *m_length == *toAnimatableSVGLength(value)->m_length; |
} |
} // namespace WebCore |