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

Unified Diff: third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp

Issue 2658333003: Add smooth interpolation support for <length> custom properties (Closed)
Patch Set: Created 3 years, 11 months 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/CSSLengthInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
index bced1df3c7c2cd9102145acb23f25d69c43a7fea..37311c6aacf52d319aca662c4677371bbda0e629 100644
--- a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
@@ -118,6 +118,14 @@ CSSLengthInterpolationType::maybeConvertStandardPropertyUnderlyingValue(
underlyingLength, effectiveZoom(*state.style()));
}
+const CSSValue* CSSLengthInterpolationType::createCSSValue(
+ const InterpolableValue& interpolableValue,
+ const NonInterpolableValue* nonInterpolableValue,
+ const StyleResolverState&) const {
+ return LengthInterpolationFunctions::createCSSValue(
+ interpolableValue, nonInterpolableValue, m_valueRange);
+}
+
void CSSLengthInterpolationType::composite(
UnderlyingValueOwner& underlyingValueOwner,
double underlyingFraction,

Powered by Google App Engine
This is Rietveld 408576698