| Index: third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBox.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBox.cpp
|
| index be07069bfbecb24944543f0cfad3a69168f807b5..172a921312d35633303c4c8a6ac05f48935d3569 100644
|
| --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBox.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBox.cpp
|
| @@ -42,6 +42,15 @@ PassRefPtr<AnimatableValue> AnimatableLengthBox::interpolateTo(const AnimatableV
|
| AnimatableValue::interpolate(this->bottom(), lengthBox->bottom(), fraction));
|
| }
|
|
|
| +bool AnimatableLengthBox::usesDefaultInterpolationWith(const AnimatableValue* other) const
|
| +{
|
| + const AnimatableLengthBox& otherBox = toAnimatableLengthBox(*other);
|
| + return usesDefaultInterpolation(left(), otherBox.left())
|
| + || usesDefaultInterpolation(right(), otherBox.right())
|
| + || usesDefaultInterpolation(top(), otherBox.top())
|
| + || usesDefaultInterpolation(bottom(), otherBox.bottom());
|
| +}
|
| +
|
| bool AnimatableLengthBox::equalTo(const AnimatableValue* value) const
|
| {
|
| const AnimatableLengthBox* lengthBox = toAnimatableLengthBox(value);
|
|
|