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 980ef0f70452c0d5ebdbcd52e8648ead71dfe206..3af3c3a8f335425fca7a04276d101c7a501ab006 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp |
@@ -272,10 +272,10 @@ void CSSFilterListInterpolationType::composite( |
const_cast<NonInterpolableValue*>(value.nonInterpolableValue.get()); |
} |
-void CSSFilterListInterpolationType::apply( |
+void CSSFilterListInterpolationType::applyStandardPropertyValue( |
const InterpolableValue& interpolableValue, |
const NonInterpolableValue* nonInterpolableValue, |
- InterpolationEnvironment& environment) const { |
+ StyleResolverState& state) const { |
const InterpolableList& interpolableList = |
toInterpolableList(interpolableValue); |
const NonInterpolableList& nonInterpolableList = |
@@ -285,13 +285,13 @@ void CSSFilterListInterpolationType::apply( |
FilterOperations filterOperations; |
filterOperations.operations().reserveCapacity(length); |
- for (size_t i = 0; i < length; i++) |
+ for (size_t i = 0; i < length; i++) { |
filterOperations.operations().push_back( |
- FilterInterpolationFunctions::createFilter(*interpolableList.get(i), |
- *nonInterpolableList.get(i), |
- environment.state())); |
- FilterListPropertyFunctions::setFilterList( |
- cssProperty(), *environment.state().style(), std::move(filterOperations)); |
+ FilterInterpolationFunctions::createFilter( |
+ *interpolableList.get(i), *nonInterpolableList.get(i), state)); |
+ } |
+ FilterListPropertyFunctions::setFilterList(cssProperty(), *state.style(), |
+ std::move(filterOperations)); |
} |
} // namespace blink |