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

Unified Diff: third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.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/CSSOffsetRotateInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp
index f1d1d0850e44656cda7ef1cd6df326a33851f436..78aa125f4bc3cb55f4dc0eb0efd8ce07c9a36cc1 100644
--- a/third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSOffsetRotateInterpolationType.cpp
@@ -166,11 +166,11 @@ void CSSOffsetRotateInterpolationType::composite(
}
}
-void CSSOffsetRotateInterpolationType::apply(
+void CSSOffsetRotateInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableValue,
const NonInterpolableValue* nonInterpolableValue,
- InterpolationEnvironment& environment) const {
- environment.state().style()->setOffsetRotation(StyleOffsetRotation(
+ StyleResolverState& state) const {
+ state.style()->setOffsetRotation(StyleOffsetRotation(
toInterpolableNumber(interpolableValue).value(),
toCSSOffsetRotationNonInterpolableValue(*nonInterpolableValue)
.rotationType()));

Powered by Google App Engine
This is Rietveld 408576698