Index: third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp |
index e9822d64966240aab3459894a912d07e2c127c3e..324dcfe0108dafd4ae5554e1f75cbeaeca564674 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp |
@@ -108,9 +108,9 @@ PairwiseInterpolationValue CSSLengthListInterpolationType::maybeMergeSingles(Int |
InterpolationValue CSSLengthListInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
Vector<Length> underlyingLengthList; |
- if (!LengthListPropertyFunctions::getLengthList(cssProperty(), *environment.state().style(), underlyingLengthList)) |
+ if (!LengthListPropertyFunctions::getLengthList(cssProperty(), environment.style(), underlyingLengthList)) |
return nullptr; |
- return maybeConvertLengthList(underlyingLengthList, environment.state().style()->effectiveZoom()); |
+ return maybeConvertLengthList(underlyingLengthList, environment.style().effectiveZoom()); |
} |
void CSSLengthListInterpolationType::composite(UnderlyingValueOwner& underlyingValueOwner, double underlyingFraction, const InterpolationValue& value, double interpolationFraction) const |
@@ -135,7 +135,7 @@ void CSSLengthListInterpolationType::apply(const InterpolableValue& interpolable |
environment.state().cssToLengthConversionData(), |
m_valueRange); |
} |
- LengthListPropertyFunctions::setLengthList(cssProperty(), *environment.state().style(), std::move(result)); |
+ LengthListPropertyFunctions::setLengthList(cssProperty(), environment.style(), std::move(result)); |
} |
} // namespace blink |