| Index: third_party/WebKit/Source/core/animation/animatable/AnimatableLengthSize.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthSize.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthSize.cpp
|
| index 8c6fbf954db238ef98e51a85911f63ba304ea927..c464f43136d44f1345acd1e9e027cd3a84010d56 100644
|
| --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthSize.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthSize.cpp
|
| @@ -32,28 +32,10 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtr<AnimatableValue> AnimatableLengthSize::interpolateTo(
|
| - const AnimatableValue* value,
|
| - double fraction) const {
|
| - const AnimatableLengthSize* lengthSize = toAnimatableLengthSize(value);
|
| - return AnimatableLengthSize::create(
|
| - AnimatableValue::interpolate(this->width(), lengthSize->width(),
|
| - fraction),
|
| - AnimatableValue::interpolate(this->height(), lengthSize->height(),
|
| - fraction));
|
| -}
|
| -
|
| bool AnimatableLengthSize::equalTo(const AnimatableValue* value) const {
|
| const AnimatableLengthSize* lengthSize = toAnimatableLengthSize(value);
|
| - return width()->equals(lengthSize->width()) &&
|
| - height()->equals(lengthSize->height());
|
| -}
|
| -
|
| -bool AnimatableLengthSize::usesDefaultInterpolationWith(
|
| - const AnimatableValue* other) const {
|
| - const AnimatableLengthSize* lengthSize = toAnimatableLengthSize(other);
|
| - return usesDefaultInterpolation(width(), lengthSize->width()) ||
|
| - usesDefaultInterpolation(height(), lengthSize->height());
|
| + return m_width->equals(lengthSize->m_width.get()) &&
|
| + m_height->equals(lengthSize->m_height.get());
|
| }
|
|
|
| } // namespace blink
|
|
|