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

Unified Diff: third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.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/CSSTransformInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp
index 625a971876fe81622d229181a329d0dbbc492f70..03bf8ebb19537727970a0b6336cecb0abb5e6311 100644
--- a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp
@@ -253,14 +253,14 @@ void CSSTransformInterpolationType::composite(
underlyingNonInterpolableValue.composite(nonInterpolableValue, progress);
}
-void CSSTransformInterpolationType::apply(
+void CSSTransformInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableValue,
const NonInterpolableValue* untypedNonInterpolableValue,
- InterpolationEnvironment& environment) const {
+ StyleResolverState& state) const {
double progress = toInterpolableNumber(interpolableValue).value();
const CSSTransformNonInterpolableValue& nonInterpolableValue =
toCSSTransformNonInterpolableValue(*untypedNonInterpolableValue);
- environment.state().style()->setTransform(
+ state.style()->setTransform(
nonInterpolableValue.getInterpolatedTransform(progress));
}

Powered by Google App Engine
This is Rietveld 408576698