Index: third_party/WebKit/Source/core/animation/KeyframeEffect.cpp |
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp |
index 1ac4bf6dd61860701f648a5cc0d28be298cda05e..50d453fe2ccff06f411e8455d12fe5ac7fe8b458 100644 |
--- a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp |
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp |
@@ -209,6 +209,8 @@ void KeyframeEffect::clearEffects() |
m_sampledEffect = nullptr; |
restartAnimationOnCompositor(); |
m_target->setNeedsAnimationStyleRecalc(); |
+ if (RuntimeEnabledFeatures::webAnimationsSVGEnabled() && m_target->isSVGElement()) |
+ toSVGElement(*m_target).clearWebAnimatedAttributes(); |
invalidate(); |
} |