Index: third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp |
index f938343dcf0bc0eae07178cf4f3fdeb7b8c5ae13..a8735d6a2b32d99a06d7c22ed939a9c9762df752 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp |
@@ -195,7 +195,7 @@ PairwiseInterpolationValue CSSTransformInterpolationType::maybeMergeSingles(Inte |
InterpolationValue CSSTransformInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
- return convertTransform(environment.state().style()->transform()); |
+ return convertTransform(environment.style().transform()); |
} |
void CSSTransformInterpolationType::composite(UnderlyingValueOwner& underlyingValueOwner, double underlyingFraction, const InterpolationValue& value, double interpolationFraction) const |
@@ -210,7 +210,7 @@ void CSSTransformInterpolationType::apply(const InterpolableValue& interpolableV |
{ |
double progress = toInterpolableNumber(interpolableValue).value(); |
const CSSTransformNonInterpolableValue& nonInterpolableValue = toCSSTransformNonInterpolableValue(*untypedNonInterpolableValue); |
- environment.state().style()->setTransform(nonInterpolableValue.getInterpolatedTransform(progress)); |
+ environment.style().setTransform(nonInterpolableValue.getInterpolatedTransform(progress)); |
} |
} // namespace blink |