Index: third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
index d9eb7a8c6c20c28cf23c8afaa65c0b22bc4932f1..07892030e4c78b15a0160905c33e7933eb366448 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
@@ -157,7 +157,7 @@ PairwiseInterpolationValue CSSRotateInterpolationType::maybeMergeSingles(Interpo |
InterpolationValue CSSRotateInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const |
{ |
- return convertRotation(getRotation(*environment.state().style())); |
+ return convertRotation(getRotation(environment.style())); |
} |
void CSSRotateInterpolationType::composite(UnderlyingValueOwner& underlyingValueOwner, double underlyingFraction, const InterpolationValue& value, double interpolationFraction) const |
@@ -173,7 +173,7 @@ void CSSRotateInterpolationType::apply(const InterpolableValue& interpolableValu |
double progress = toInterpolableNumber(interpolableValue).value(); |
const CSSRotateNonInterpolableValue& nonInterpolableValue = toCSSRotateNonInterpolableValue(*untypedNonInterpolableValue); |
Rotation rotation = nonInterpolableValue.slerpedRotation(progress); |
- environment.state().style()->setRotate(RotateTransformOperation::create(rotation, TransformOperation::Rotate3D)); |
+ environment.style().setRotate(RotateTransformOperation::create(rotation, TransformOperation::Rotate3D)); |
} |