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..ba84169c4eae95395dd90ed2a99e8b732eeadf26 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 animations: ' + document.timeline.getAnimations().length); |
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); |