Index: third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp |
index 7e28a0ee73a5433f369dd4b15e73cbccbfad6d7b..bad3d3a4878b4bab248bb27184c412989c96d60f 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp |
@@ -127,7 +127,7 @@ InterpolationValue CSSFilterListInterpolationType::maybeConvertValue(const CSSVa |
InterpolationValue CSSFilterListInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
- const ComputedStyle& style = *environment.state().style(); |
+ const ComputedStyle& style = environment.style(); |
return convertFilterList(FilterListPropertyFunctions::getFilterList(cssProperty(), style), style.effectiveZoom()); |
} |
@@ -213,7 +213,7 @@ void CSSFilterListInterpolationType::apply(const InterpolableValue& interpolable |
filterOperations.operations().reserveCapacity(length); |
for (size_t i = 0; i < length; i++) |
filterOperations.operations().append(FilterInterpolationFunctions::createFilter(*interpolableList.get(i), *nonInterpolableList.get(i), environment.state())); |
- FilterListPropertyFunctions::setFilterList(cssProperty(), *environment.state().style(), std::move(filterOperations)); |
+ FilterListPropertyFunctions::setFilterList(cssProperty(), environment.style(), std::move(filterOperations)); |
} |
} // namespace blink |