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 2646025aa0dcd1ad7a4a3fc16cec645bf84a5d88..fb0bbac54a48f4a0d09820f132c15e20fd24669b 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp |
@@ -206,15 +206,15 @@ void CSSRotateInterpolationType::composite( |
underlyingNonInterpolableValue.composite(nonInterpolableValue, progress); |
} |
-void CSSRotateInterpolationType::apply( |
+void CSSRotateInterpolationType::applyStandardPropertyValue( |
const InterpolableValue& interpolableValue, |
const NonInterpolableValue* untypedNonInterpolableValue, |
- InterpolationEnvironment& environment) const { |
+ StyleResolverState& state) const { |
double progress = toInterpolableNumber(interpolableValue).value(); |
const CSSRotateNonInterpolableValue& nonInterpolableValue = |
toCSSRotateNonInterpolableValue(*untypedNonInterpolableValue); |
Rotation rotation = nonInterpolableValue.slerpedRotation(progress); |
- environment.state().style()->setRotate( |
+ state.style()->setRotate( |
RotateTransformOperation::create(rotation, TransformOperation::Rotate3D)); |
} |