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 ea9504af7be201aac6fdb60e2dee3496b5a7f8b1..a1e9934def6ee5a145d288e7394265ce534c8f46 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp |
@@ -144,13 +144,13 @@ InterpolationValue CSSTranslateInterpolationType::maybeConvertUnderlyingValue( |
environment.state().style()->effectiveZoom()); |
} |
-void CSSTranslateInterpolationType::apply( |
+void CSSTranslateInterpolationType::applyStandardPropertyValue( |
const InterpolableValue& interpolableValue, |
const NonInterpolableValue*, |
- InterpolationEnvironment& environment) const { |
+ StyleResolverState& state) const { |
const InterpolableList& list = toInterpolableList(interpolableValue); |
const CSSToLengthConversionData& conversionData = |
- environment.state().cssToLengthConversionData(); |
+ state.cssToLengthConversionData(); |
Length x = LengthInterpolationFunctions::createLength( |
*list.get(TranslateX), nullptr, conversionData, ValueRangeAll); |
Length y = LengthInterpolationFunctions::createLength( |
@@ -163,7 +163,7 @@ void CSSTranslateInterpolationType::apply( |
if (!x.isZero() || !y.isZero() || z != 0) |
result = TranslateTransformOperation::create( |
x, y, z, TransformOperation::Translate3D); |
- environment.state().style()->setTranslate(result.release()); |
+ state.style()->setTranslate(result.release()); |
} |
} // namespace blink |