| 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 87e1460064bf0bb890e445dd9add844f85613adc..95f82302dfdfbe8e288f8795d0725c473685cd0c 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
|
| @@ -115,7 +115,7 @@ InterpolationValue CSSTranslateInterpolationType::maybeConvertValue(const CSSVal
|
|
|
| InterpolationValue CSSTranslateInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const
|
| {
|
| - return convertTranslateOperation(environment.state().style()->translate(), environment.state().style()->effectiveZoom());
|
| + return convertTranslateOperation(environment.style().translate(), environment.style().effectiveZoom());
|
| }
|
|
|
| void CSSTranslateInterpolationType::apply(const InterpolableValue& interpolableValue, const NonInterpolableValue*, InterpolationEnvironment& environment) const
|
| @@ -129,7 +129,7 @@ void CSSTranslateInterpolationType::apply(const InterpolableValue& interpolableV
|
| RefPtr<TranslateTransformOperation> result = nullptr;
|
| if (!x.isZero() || !y.isZero() || z != 0)
|
| result = TranslateTransformOperation::create(x, y, z, TransformOperation::Translate3D);
|
| - environment.state().style()->setTranslate(result.release());
|
| + environment.style().setTranslate(result.release());
|
| }
|
|
|
| } // namespace blink
|
|
|