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

Unified Diff: third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.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/CSSPaintInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp
index ab39b4fa2809562cca86363947d96d821bdefb1b..cfd130805030cd33b1b9eb7ad7f6fdfb5fb743f4 100644
--- a/third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp
@@ -100,14 +100,14 @@ InterpolationValue CSSPaintInterpolationType::maybeConvertUnderlyingValue(
CSSColorInterpolationType::createInterpolableColor(underlyingColor));
}
-void CSSPaintInterpolationType::apply(
+void CSSPaintInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableColor,
const NonInterpolableValue*,
- InterpolationEnvironment& environment) const {
+ StyleResolverState& state) const {
PaintPropertyFunctions::setColor(
- cssProperty(), *environment.state().style(),
+ cssProperty(), *state.style(),
CSSColorInterpolationType::resolveInterpolableColor(interpolableColor,
- environment.state()));
+ state));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698