| Index: third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
| index 1a6aff641e8f9a5ee739154b5fbb367b333e9d1f..31084826b48b0edab86770f4cd64dc4acf23ea53 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
| @@ -196,7 +196,7 @@ InterpolationValue CSSImageSliceInterpolationType::maybeConvertValue(const CSSVa
|
|
|
| InterpolationValue CSSImageSliceInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const
|
| {
|
| - const ComputedStyle& style = *environment.state().style();
|
| + const ComputedStyle& style = environment.style();
|
| return convertImageSlice(ImageSlicePropertyFunctions::getImageSlice(cssProperty(), style), style.effectiveZoom());
|
| }
|
|
|
| @@ -224,7 +224,7 @@ void CSSImageSliceInterpolationType::composite(UnderlyingValueOwner& underlyingV
|
|
|
| void CSSImageSliceInterpolationType::apply(const InterpolableValue& interpolableValue, const NonInterpolableValue* nonInterpolableValue, InterpolationEnvironment& environment) const
|
| {
|
| - ComputedStyle& style = *environment.state().style();
|
| + ComputedStyle& style = environment.style();
|
| const InterpolableList& list = toInterpolableList(interpolableValue);
|
| const SliceTypes& types = toCSSImageSliceNonInterpolableValue(nonInterpolableValue)->types();
|
| const auto& convertSide = [&types, &list, &style](size_t index)
|
|
|