Index: third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp |
index 019fe0899bf15c9c1edaf561763a3922f43606e2..687becbf5d7a2bc90fe211b7072c553e885c12d1 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp |
@@ -157,7 +157,7 @@ InterpolationValue CSSTextIndentInterpolationType::maybeConvertValue(const CSSVa |
InterpolationValue CSSTextIndentInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
- const ComputedStyle& style = *environment.state().style(); |
+ const ComputedStyle& style = environment.style(); |
return createValue(style.textIndent(), IndentMode(style), style.effectiveZoom()); |
} |
@@ -198,7 +198,7 @@ void CSSTextIndentInterpolationType::composite(UnderlyingValueOwner& underlyingV |
void CSSTextIndentInterpolationType::apply(const InterpolableValue& interpolableValue, const NonInterpolableValue* nonInterpolableValue, InterpolationEnvironment& environment) const |
{ |
const CSSTextIndentNonInterpolableValue& cssTextIndentNonInterpolableValue = toCSSTextIndentNonInterpolableValue(*nonInterpolableValue); |
- ComputedStyle& style = *environment.state().style(); |
+ ComputedStyle& style = environment.style(); |
style.setTextIndent(CSSLengthInterpolationType::resolveInterpolableLength( |
interpolableValue, |
cssTextIndentNonInterpolableValue.lengthNonInterpolableValue(), |