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

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

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work 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/BasicShapeInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp
index d06d1b23fec0e99bc113722fa0cb4a27afebdd9f..7993364d8fa6f97527186a14d4b5c7d9e13d3cc1 100644
--- a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp
@@ -103,9 +103,9 @@ BasicShapeCenterCoordinate createCoordinate(const InterpolableValue& interpolabl
LengthInterpolationFunctions::createLength(interpolableValue, nullptr, conversionData, ValueRangeAll));
}
-std::unique_ptr<InterpolableValue> convertCSSRadius(const CSSPrimitiveValue* radius)
+std::unique_ptr<InterpolableValue> convertCSSRadius(const CSSValue* radius)
{
- if (!radius || radius->isValueID())
+ if (!radius || radius->isIdentifierValue())
return nullptr;
return unwrap(LengthInterpolationFunctions::maybeConvertCSSValue(*radius));
}

Powered by Google App Engine
This is Rietveld 408576698