Chromium Code Reviews| Index: LayoutTests/animations/resources/animation-test-helpers.js |
| diff --git a/LayoutTests/animations/resources/animation-test-helpers.js b/LayoutTests/animations/resources/animation-test-helpers.js |
| index 823d4456d644bbf86ee61b959a3db766510fe23a..00b19df5e3d47f9db35847d0b2e98378147216e5 100644 |
| --- a/LayoutTests/animations/resources/animation-test-helpers.js |
| +++ b/LayoutTests/animations/resources/animation-test-helpers.js |
| @@ -205,7 +205,7 @@ function runChecksWithRAF(checks) |
| function runChecksWithPauseAPI(checks) { |
| for (var k in checks) { |
| var timeMs = Number(k); |
| - log('Pausing at time: ' + timeMs + ', current players: ' + document.timeline.getAnimationPlayers().length); |
| + log('Pausing at time: ' + timeMs + ', current players: ' + document.timeline.getAnimations().length); |
|
alancutter (OOO until 2018)
2015/05/05 01:04:50
s/player/animation/
dstockwell
2015/05/05 03:33:24
Done ^_^
|
| internals.pauseAnimations(timeMs / 1000); |
| checks[k].forEach(function(check) { check(); }); |
| } |
| @@ -236,7 +236,7 @@ function log(message) |
| function waitForAnimationsToStart(callback) |
| { |
| - if (document.timeline.getAnimationPlayers().length > 0) { |
| + if (document.timeline.getAnimations().length > 0) { |
| callback(); |
| } else { |
| setTimeout(waitForAnimationsToStart.bind(this, callback), 0); |