| Index: third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| index 1a799ac4b0471a2baf2f728c28bc611c1aa64606..3f667b857e87d60c869c585dfb4cd1159b346753 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| @@ -159,10 +159,9 @@ void CSSTranslateInterpolationType::applyStandardPropertyValue(
|
| *list.get(TranslateZ), nullptr, conversionData, ValueRangeAll)
|
| .pixels();
|
|
|
| - RefPtr<TranslateTransformOperation> result = nullptr;
|
| - if (!x.isZero() || !y.isZero() || z != 0)
|
| - result = TranslateTransformOperation::create(
|
| - x, y, z, TransformOperation::Translate3D);
|
| + RefPtr<TranslateTransformOperation> result =
|
| + TranslateTransformOperation::create(x, y, z,
|
| + TransformOperation::Translate3D);
|
| state.style()->setTranslate(std::move(result));
|
| }
|
|
|
|
|