Index: third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp |
index 3a55984b9c7617f863823e2f5efdb6867d5ce0ab..2915410dcb91891dc72de4ca704580fad93f7fb1 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp |
@@ -124,7 +124,7 @@ PairwiseInterpolationValue CSSMotionRotationInterpolationType::maybeMergeSingles |
InterpolationValue CSSMotionRotationInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
- return convertMotionRotation(environment.state().style()->motionRotation()); |
+ return convertMotionRotation(environment.style().motionRotation()); |
} |
void CSSMotionRotationInterpolationType::composite(UnderlyingValueOwner& underlyingValueOwner, double underlyingFraction, const InterpolationValue& value, double interpolationFraction) const |
@@ -139,7 +139,7 @@ void CSSMotionRotationInterpolationType::composite(UnderlyingValueOwner& underly |
void CSSMotionRotationInterpolationType::apply(const InterpolableValue& interpolableValue, const NonInterpolableValue* nonInterpolableValue, InterpolationEnvironment& environment) const |
{ |
- environment.state().style()->setMotionRotation(StyleMotionRotation( |
+ environment.style().setMotionRotation(StyleMotionRotation( |
toInterpolableNumber(interpolableValue).value(), |
toCSSMotionRotationNonInterpolableValue(*nonInterpolableValue).rotationType())); |
} |