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 f406ced3e1304ddc02adbb02d8250829c734aa54..c1017ecd5a4b761a961e8ac03b5e36db749da052 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp |
@@ -17,10 +17,10 @@ void CSSPathInterpolationType::apply(const InterpolableValue& interpolableValue, |
ASSERT(cssProperty() == CSSPropertyD); |
std::unique_ptr<SVGPathByteStream> pathByteStream = PathInterpolationFunctions::appliedValue(interpolableValue, nonInterpolableValue); |
if (pathByteStream->isEmpty()) { |
- environment.state().style()->setD(nullptr); |
+ environment.style().setD(nullptr); |
return; |
} |
- environment.state().style()->setD(StylePath::create(std::move(pathByteStream))); |
+ environment.style().setD(StylePath::create(std::move(pathByteStream))); |
} |
void CSSPathInterpolationType::composite(UnderlyingValueOwner& underlyingValueOwner, double underlyingFraction, const InterpolationValue& value, double interpolationFraction) const |
@@ -80,7 +80,7 @@ InterpolationValue CSSPathInterpolationType::maybeConvertValue(const CSSValue& v |
InterpolationValue CSSPathInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
ASSERT(cssProperty() == CSSPropertyD); |
- return PathInterpolationFunctions::convertValue(environment.state().style()->svgStyle().d()); |
+ return PathInterpolationFunctions::convertValue(environment.style().svgStyle().d()); |
} |
PairwiseInterpolationValue CSSPathInterpolationType::maybeMergeSingles(InterpolationValue&& start, InterpolationValue&& end) const |