[Coordinated Graphics] Resumed animations leave an obsolate GraphicsLayerAnimation behind
https://bugs.webkit.org/show_bug.cgi?id=102530
Reviewed by Noam Rosenthal.
GraphicsLayer::addAnimation is called no only when a new animation is created
but also when resuming a paused animation. If this is a resumed animation we
should remove the obsolate GraphicsLayerAnimation object.
Tested by animations tests.
* platform/graphics/GraphicsLayerAnimation.cpp:
(WebCore::GraphicsLayerAnimations::add):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed