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

Unified Diff: third_party/WebKit/Source/core/animation/CSSInterpolationType.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/CSSInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
index 1264045a09c5b5909405ae34d49832a42146d905..6785e24f15f416b33d0bf03bcca7c8c0ca8bc3d5 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
@@ -89,4 +89,14 @@ InterpolationValue CSSInterpolationType::maybeConvertSingle(
return maybeConvertValue(*value, environment.state(), conversionCheckers);
}
+void CSSInterpolationType::apply(
+ const InterpolableValue& interpolableValue,
+ const NonInterpolableValue* nonInterpolableValue,
+ InterpolationEnvironment& environment) const {
+ // TODO(alancutter): Add support for applying registered custom property
+ // values.
+ return applyStandardPropertyValue(interpolableValue, nonInterpolableValue,
+ environment.state());
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698