Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: LayoutTests/compositing/video-frame-size-change.html

Issue 181653006: Remove testRunner.display() from most compositing/ tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert change to plugin test Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « LayoutTests/compositing/squashing/squashed-repaints.html ('k') | LayoutTests/compositing/video-page-visibility.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698