DescriptionSVG: no need to call |clearAnimatedType| at SVGAnimate{,Motion}Element dtor.
The deleted code was used to ensure the ASSERT(!isAnimating()) on ~SVGAnimatedProperty.
The assert checks that animation is always stopped when the element is dead. However, the assert is removed now, so we don't need to ensure it.
The deleted code |clearAnimatedType| in ~SVGAnimateElement was triggered when a document was unloaded and its <animate> element was destructed before its target svg element. This stopped animation on the target svg elements before the ASSERT run.
BUG=370834
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175989
Patch Set 1 #Patch Set 2 : add LayoutTest #
Total comments: 4
Patch Set 3 : address comments #
Messages
Total messages: 11 (0 generated)
|