DescriptionDelay SVGImage animations reset while being updated.
When the SVGImage animations timer is serviced, a strong reference
is kept on the stack to the image's underlying ImageResource --
preventing it from being GCed as it isn't stack-reachable
from SVGImageChromeClient.
Additionally strengthen that ImageResource lock and prevent
calls to resetAnimation() on the SVGImage, should those GCs finalize
all clients registered with the ImageResource and the reset operation
then being attempted. Doing so is troublesome for the animations
update that is in-flight (see associated bugs), so we delay the
reset until the update has completed.
BUG=613709, 581546
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|