Index: third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp |
index 415a3889b65d815ab26047b474c6febbbe37deda..127cb355149434f7cc4ff061dc249ceb213e15f3 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp |
@@ -196,7 +196,7 @@ InterpolationValue CSSImageInterpolationType::maybeConvertValue(const CSSValue& |
InterpolationValue CSSImageInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
- return maybeConvertStyleImage(ImagePropertyFunctions::getStyleImage(cssProperty(), *environment.state().style()), true); |
+ return maybeConvertStyleImage(ImagePropertyFunctions::getStyleImage(cssProperty(), environment.style()), true); |
} |
void CSSImageInterpolationType::composite(UnderlyingValueOwner& underlyingValueOwner, double underlyingFraction, const InterpolationValue& value, double interpolationFraction) const |
@@ -206,7 +206,7 @@ void CSSImageInterpolationType::composite(UnderlyingValueOwner& underlyingValueO |
void CSSImageInterpolationType::apply(const InterpolableValue& interpolableValue, const NonInterpolableValue* nonInterpolableValue, InterpolationEnvironment& environment) const |
{ |
- ImagePropertyFunctions::setStyleImage(cssProperty(), *environment.state().style(), resolveStyleImage(cssProperty(), interpolableValue, nonInterpolableValue, environment.state())); |
+ ImagePropertyFunctions::setStyleImage(cssProperty(), environment.style(), resolveStyleImage(cssProperty(), interpolableValue, nonInterpolableValue, environment.state())); |
} |
} // namespace blink |