| Index: Source/core/svg/SVGAnimatedNumberList.cpp
|
| diff --git a/Source/core/svg/SVGAnimatedNumberList.cpp b/Source/core/svg/SVGAnimatedNumberList.cpp
|
| index 21ee4a8f60cc8be1cc4cb6bd79929f7f6f2ceb7e..7f1d9e7fe7d3216c62fdbcbdb84af69accb9e8d7 100644
|
| --- a/Source/core/svg/SVGAnimatedNumberList.cpp
|
| +++ b/Source/core/svg/SVGAnimatedNumberList.cpp
|
| @@ -95,9 +95,9 @@ void SVGAnimatedNumberListAnimator::calculateAnimatedValue(float percentage, uns
|
| unsigned toAtEndOfDurationSize = toAtEndOfDurationNumberList.size();
|
|
|
| for (unsigned i = 0; i < toNumberListSize; ++i) {
|
| - float effectiveFrom = fromNumberListSize ? fromNumberList[i] : 0;
|
| - float effectiveToAtEnd = i < toAtEndOfDurationSize ? toAtEndOfDurationNumberList[i] : 0;
|
| - m_animationElement->animateAdditiveNumber(percentage, repeatCount, effectiveFrom, toNumberList[i], effectiveToAtEnd, animatedNumberList[i]);
|
| + float effectiveFrom = fromNumberListSize ? fromNumberList[i].value() : 0;
|
| + float effectiveToAtEnd = i < toAtEndOfDurationSize ? toAtEndOfDurationNumberList[i].value() : 0;
|
| + m_animationElement->animateAdditiveNumber(percentage, repeatCount, effectiveFrom, toNumberList[i].value(), effectiveToAtEnd, animatedNumberList[i].valueRef());
|
| }
|
| }
|
|
|
|
|