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

Unified Diff: third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.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/CSSScaleInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp
index c39cd1746b37eeb89413ad3446df08547d62d161..a98f1f6004dbe108f6979f85d90fd3659a25c4de 100644
--- a/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp
@@ -214,12 +214,12 @@ void CSSScaleInterpolationType::composite(
}
}
-void CSSScaleInterpolationType::apply(
+void CSSScaleInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableValue,
const NonInterpolableValue*,
- InterpolationEnvironment& environment) const {
+ StyleResolverState& state) const {
Scale scale(interpolableValue);
- environment.state().style()->setScale(ScaleTransformOperation::create(
+ state.style()->setScale(ScaleTransformOperation::create(
scale.array[0], scale.array[1], scale.array[2],
TransformOperation::Scale3D));
}

Powered by Google App Engine
This is Rietveld 408576698