| Index: third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp
|
| index 1274c07f405200bd77d7bab5a62a866b401c3275..dead6316c7f44bfff0f784c3f4e9c764cc59d51f 100644
|
| --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint.cpp
|
| @@ -32,24 +32,10 @@
|
|
|
| namespace blink {
|
|
|
| -bool AnimatableLengthPoint::usesDefaultInterpolationWith(
|
| - const AnimatableValue* value) const {
|
| - const AnimatableLengthPoint* other = toAnimatableLengthPoint(value);
|
| - return this->x()->isUnknown() || other->x()->isUnknown();
|
| -}
|
| -
|
| -PassRefPtr<AnimatableValue> AnimatableLengthPoint::interpolateTo(
|
| - const AnimatableValue* value,
|
| - double fraction) const {
|
| - const AnimatableLengthPoint* lengthPoint = toAnimatableLengthPoint(value);
|
| - return AnimatableLengthPoint::create(
|
| - AnimatableValue::interpolate(this->x(), lengthPoint->x(), fraction),
|
| - AnimatableValue::interpolate(this->y(), lengthPoint->y(), fraction));
|
| -}
|
| -
|
| bool AnimatableLengthPoint::equalTo(const AnimatableValue* value) const {
|
| const AnimatableLengthPoint* lengthPoint = toAnimatableLengthPoint(value);
|
| - return x()->equals(lengthPoint->x()) && y()->equals(lengthPoint->y());
|
| + return m_x->equals(lengthPoint->m_x.get()) &&
|
| + m_y->equals(lengthPoint->m_y.get());
|
| }
|
|
|
| } // namespace blink
|
|
|