| Index: Source/core/svg/SVGLengthList.cpp
|
| diff --git a/Source/core/svg/SVGLengthList.cpp b/Source/core/svg/SVGLengthList.cpp
|
| index 1fadc5eb0daf1e93703d6ac7abf0e9bcbd858d47..2f99d407948edc9a1b28bb16fbdd69453d70267e 100644
|
| --- a/Source/core/svg/SVGLengthList.cpp
|
| +++ b/Source/core/svg/SVGLengthList.cpp
|
| @@ -152,11 +152,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)->primitiveType();
|
| float effectiveFrom = 0;
|
| if (fromLengthListSize) {
|
| if (percentage < 0.5)
|
| - unitType = fromList->at(i)->unitType();
|
| + unitType = fromList->at(i)->primitiveType();
|
| effectiveFrom = fromList->at(i)->value(lengthContext);
|
| }
|
| float effectiveTo = toList->at(i)->value(lengthContext);
|
|
|