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

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

Issue 2314453002: Use CSSPrimitiveValue::create in CSSLengthInterpolationType (Closed)
Patch Set: Created 4 years, 3 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/CSSClipInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
index 668935de5d41d5573b7d9c3f8d54ce2205049d29..8cad2e94899abe4e139102eecd0e93443ed63720 100644
--- a/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp
@@ -255,7 +255,7 @@ void CSSClipInterpolationType::apply(const InterpolableValue& interpolableValue,
{
if (isAuto)
return Length(Auto);
- return CSSLengthInterpolationType::resolveInterpolableLength(*list.get(index), nullptr, environment.state().cssToLengthConversionData(), ValueRangeAll);
+ return CSSLengthInterpolationType::createLength(*list.get(index), nullptr, environment.state().cssToLengthConversionData(), ValueRangeAll);
};
environment.state().style()->setClip(LengthBox(
convertIndex(autos.isTopAuto, ClipTop),

Powered by Google App Engine
This is Rietveld 408576698