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/CSSInterpolationType.cpp

Issue 2575763002: Rename maybeConvertUnderlyingValue() 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 6785e24f15f416b33d0bf03bcca7c8c0ca8bc3d5..c784cebba06f25f30835b42dbad2efbce10e656e 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
@@ -89,6 +89,13 @@ InterpolationValue CSSInterpolationType::maybeConvertSingle(
return maybeConvertValue(*value, environment.state(), conversionCheckers);
}
+InterpolationValue CSSInterpolationType::maybeConvertUnderlyingValue(
+ const InterpolationEnvironment& environment) const {
+ // TODO(alancutter): Add support for converting underlying registered custom
+ // property values.
+ return maybeConvertStandardPropertyUnderlyingValue(environment.state());
+}
+
void CSSInterpolationType::apply(
const InterpolableValue& interpolableValue,
const NonInterpolableValue* nonInterpolableValue,

Powered by Google App Engine
This is Rietveld 408576698