Index: third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp |
index 3ff1615dd05ac73ed280312b5c208ca78d9967a0..6bb2b45fede8926caf66a37533bb60d66f4c1a4e 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp |
@@ -219,7 +219,7 @@ InterpolationValue CSSBorderImageLengthBoxInterpolationType::maybeConvertValue(c |
InterpolationValue CSSBorderImageLengthBoxInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
- const ComputedStyle& style = *environment.state().style(); |
+ const ComputedStyle& style = environment.style(); |
return convertBorderImageLengthBox(BorderImageLengthBoxPropertyFunctions::getBorderImageLengthBox(cssProperty(), style), style.effectiveZoom()); |
} |
@@ -274,7 +274,7 @@ void CSSBorderImageLengthBoxInterpolationType::apply(const InterpolableValue& in |
convertSide(SideRight), |
convertSide(SideBottom), |
convertSide(SideLeft)); |
- BorderImageLengthBoxPropertyFunctions::setBorderImageLengthBox(cssProperty(), *environment.state().style(), box); |
+ BorderImageLengthBoxPropertyFunctions::setBorderImageLengthBox(cssProperty(), environment.style(), box); |
} |
} // namespace blink |