| 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 1fadc5eb0daf1e93703d6ac7abf0e9bcbd858d47..9124271531807ac15b2ef23bbbb8108ef7b5ba25 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGLengthList.cpp
|
| +++ b/third_party/WebKit/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)->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);
|
|
|