Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Unified Diff: third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp

Issue 2578043002: Rename apply() in CSSInterpolationType subclasses (Closed)
Patch Set: rebased Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}

Powered by Google App Engine
This is Rietveld 408576698