Index: third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.cpp |
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.cpp |
index d41c181cdb499c8759dbc06359039a0ef89a053d..feddccc87c08049997b1cb74f5c5fe9940072899 100644 |
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.cpp |
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.cpp |
@@ -32,20 +32,11 @@ |
namespace blink { |
-PassRefPtr<AnimatableValue> AnimatableLengthPoint3D::interpolateTo( |
- const AnimatableValue* value, |
- double fraction) const { |
- const AnimatableLengthPoint3D* lengthPoint = toAnimatableLengthPoint3D(value); |
- return AnimatableLengthPoint3D::create( |
- AnimatableValue::interpolate(this->x(), lengthPoint->x(), fraction), |
- AnimatableValue::interpolate(this->y(), lengthPoint->y(), fraction), |
- AnimatableValue::interpolate(this->z(), lengthPoint->z(), fraction)); |
-} |
- |
bool AnimatableLengthPoint3D::equalTo(const AnimatableValue* value) const { |
const AnimatableLengthPoint3D* lengthPoint = toAnimatableLengthPoint3D(value); |
- return x()->equals(lengthPoint->x()) && y()->equals(lengthPoint->y()) && |
- z()->equals(lengthPoint->z()); |
+ return m_x->equals(lengthPoint->m_x.get()) && |
+ m_y->equals(lengthPoint->m_y.get()) && |
+ m_z->equals(lengthPoint->m_z.get()); |
} |
} // namespace blink |