Index: third_party/WebKit/LayoutTests/animations/get-css-players.html |
diff --git a/third_party/WebKit/LayoutTests/animations/get-css-players.html b/third_party/WebKit/LayoutTests/animations/get-css-players.html |
index 9127df5c014d53c841ed0e0a472c73938806ebe5..94521a9e3c380e1743604bf398a649df28b910c1 100644 |
--- a/third_party/WebKit/LayoutTests/animations/get-css-players.html |
+++ b/third_party/WebKit/LayoutTests/animations/get-css-players.html |
@@ -15,20 +15,20 @@ |
<script> |
async_test(function(t) { |
- assert_equals(document.timeline.getAnimations().length, 0); |
+ assert_equals(document.getAnimations().length, 0); |
assert_equals(container.getAnimations().length, 0); |
assert_equals(element.getAnimations().length, 0); |
element.className = 'cssAnimation'; |
onload = function () { |
t.step(function() { |
- var animations = document.timeline.getAnimations(); |
+ var animations = document.getAnimations(); |
assert_equals(animations.length, 1); |
assert_equals(container.getAnimations().length, 0); |
assert_equals(element.getAnimations().length, 1); |
animations[0].finish(); |
- assert_equals(document.timeline.getAnimations().length, 0); |
+ assert_equals(document.getAnimations().length, 0); |
assert_equals(container.getAnimations().length, 0); |
assert_equals(element.getAnimations().length, 0); |
t.done(); |