Index: LayoutTests/compositing/video-frame-size-change.html |
diff --git a/LayoutTests/compositing/video-frame-size-change.html b/LayoutTests/compositing/video-frame-size-change.html |
index 8fd0281c973f79923a2fe26b293c5f7f5787c162..801a33b99bf5b9c4f4aa97354ad909e39bd1ebf5 100644 |
--- a/LayoutTests/compositing/video-frame-size-change.html |
+++ b/LayoutTests/compositing/video-frame-size-change.html |
@@ -16,10 +16,9 @@ |
return; |
} |
// Make sure we render the first frame. |
- if (window.testRunner) { |
- testRunner.display(); |
- } |
- video.play(); |
+ requestAnimationFrame(function() { |
+ video.play(); |
+ }); |
}; |
// Get the first video to stay on frame zero for comparison purposes. |