cc: Fix slow LayerTreeHostAnimationTest
commita9c13a25b263eca1e441d51281fd80ceb8c3f97b
authorajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 9 Jul 2014 16:03:10 +0000 (9 16:03 +0000)
committerajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 9 Jul 2014 16:03:10 +0000 (9 16:03 +0000)
tree9caa0f5da8bb46962b2694601c87180e766c9ef5
parent19bce3159a4278a722450c1603b350dc21641503
cc: Fix slow LayerTreeHostAnimationTest

This fixes LayerTreeHostAnimationTestAnimationsAddedToNewAndExistingLayers
whose single-thread versions were taking 4 seconds, since they couldn't
finish until there were no longer any running animations (in
single-thread mode, having running animations means continually having
pending commits).

This removes the running animations, allowing the test to finish.

BUG=None

Review URL: https://codereview.chromium.org/378943004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282051 0039d316-1c4b-4281-b951-d872f2087c98
cc/trees/layer_tree_host_unittest_animation.cc