Index: third_party/WebKit/Source/core/svg/SVGLengthList.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGLengthList.cpp b/third_party/WebKit/Source/core/svg/SVGLengthList.cpp |
index 46c57c9188b0edc8243e6b2b4f860bcd9198bfdc..60620ec7036db0210a792102d6fdaf4c3f0574d3 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLengthList.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGLengthList.cpp |
@@ -147,11 +147,11 @@ void SVGLengthList::calculateAnimatedValue(SVGAnimationElement* animationElement |
for (size_t i = 0; i < toLengthListSize; ++i) { |
float animatedNumber = at(i)->value(lengthContext); |
- SVGLengthType unitType = toList->at(i)->unitType(); |
+ CSSPrimitiveValue::UnitType unitType = toList->at(i)->typeWithCalcResolved(); |
float effectiveFrom = 0; |
if (fromLengthListSize) { |
if (percentage < 0.5) |
- unitType = fromList->at(i)->unitType(); |
+ unitType = fromList->at(i)->typeWithCalcResolved(); |
effectiveFrom = fromList->at(i)->value(lengthContext); |
} |
float effectiveTo = toList->at(i)->value(lengthContext); |