| Index: third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
|
| index 03f717342510331f2e20b32ff3df80e9482e2a8a..ca884dc0c888aba1d37d74fecbf22f1345b2bd78 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
|
| @@ -13,20 +13,19 @@
|
|
|
| namespace blink {
|
|
|
| -void CSSPathInterpolationType::apply(
|
| +void CSSPathInterpolationType::applyStandardPropertyValue(
|
| const InterpolableValue& interpolableValue,
|
| const NonInterpolableValue* nonInterpolableValue,
|
| - InterpolationEnvironment& environment) const {
|
| + StyleResolverState& state) const {
|
| DCHECK_EQ(cssProperty(), CSSPropertyD);
|
| std::unique_ptr<SVGPathByteStream> pathByteStream =
|
| PathInterpolationFunctions::appliedValue(interpolableValue,
|
| nonInterpolableValue);
|
| if (pathByteStream->isEmpty()) {
|
| - environment.state().style()->setD(nullptr);
|
| + state.style()->setD(nullptr);
|
| return;
|
| }
|
| - environment.state().style()->setD(
|
| - StylePath::create(std::move(pathByteStream)));
|
| + state.style()->setD(StylePath::create(std::move(pathByteStream)));
|
| }
|
|
|
| void CSSPathInterpolationType::composite(
|
|
|