| Index: third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
|
| index 0a18091fc155667f79cbb6418a38a761e0b3b336..acfa7fa8a018506048d4337ceb2c1b49d581950c 100644
|
| --- a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp
|
| @@ -481,9 +481,11 @@ SMILTime SMILTimeContainer::updateAnimations(SMILTime elapsed, bool seekToTime)
|
| if (!resultElement)
|
| resultElement = animation;
|
|
|
| - // This will calculate the contribution from the animation and add it to the resultsElement.
|
| - if (!animation->progress(elapsed, resultElement, seekToTime) && resultElement == animation)
|
| + // This will calculate the contribution from the animation and add it to the resultElement.
|
| + if (!animation->progress(elapsed, resultElement, seekToTime) && resultElement == animation) {
|
| + resultElement->clearAnimatedType();
|
| resultElement = nullptr;
|
| + }
|
|
|
| SMILTime nextFireTime = animation->nextProgressTime();
|
| if (nextFireTime.isFinite())
|
|
|