Index: third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
index 5411931ed4da3e4b4d3a4df914b19916a12ff25e..41ea705df0a22cf1a9ffa42ab3121b12ef55d353 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp |
@@ -211,9 +211,9 @@ InterpolationValue CSSLengthInterpolationType::maybeConvertValue(const CSSValue& |
InterpolationValue CSSLengthInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
Length underlyingLength; |
- if (!LengthPropertyFunctions::getLength(cssProperty(), *environment.state().style(), underlyingLength)) |
+ if (!LengthPropertyFunctions::getLength(cssProperty(), environment.style(), underlyingLength)) |
return nullptr; |
- return maybeConvertLength(underlyingLength, effectiveZoom(*environment.state().style())); |
+ return maybeConvertLength(underlyingLength, effectiveZoom(environment.style())); |
} |
void CSSLengthInterpolationType::composite(UnderlyingValueOwner& underlyingValueOwner, double underlyingFraction, const InterpolationValue& value, double interpolationFraction) const |