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

Unified Diff: third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.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/CSSBasicShapeInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
index dd9c0f09d288273f8fdbd163c7ed30e8630d332f..aeabc41fbe3b6943b1c3b3646e0cf97e4bda46fa 100644
--- a/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp
@@ -148,15 +148,15 @@ void CSSBasicShapeInterpolationType::composite(
underlyingFraction, *value.interpolableValue);
}
-void CSSBasicShapeInterpolationType::apply(
+void CSSBasicShapeInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableValue,
const NonInterpolableValue* nonInterpolableValue,
- InterpolationEnvironment& environment) const {
+ StyleResolverState& state) const {
BasicShapePropertyFunctions::setBasicShape(
- cssProperty(), *environment.state().style(),
+ cssProperty(), *state.style(),
BasicShapeInterpolationFunctions::createBasicShape(
interpolableValue, *nonInterpolableValue,
- environment.state().cssToLengthConversionData()));
+ state.cssToLengthConversionData()));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698