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

Unified Diff: third_party/WebKit/LayoutTests/media/video-paint-test.js

Issue 2053793002: Attempt to deflake video-layer-crash.html. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/video-paint-test.js
diff --git a/third_party/WebKit/LayoutTests/media/video-paint-test.js b/third_party/WebKit/LayoutTests/media/video-paint-test.js
index 867a3c1cd05c5ab77cc878c897c46d17ce126f89..be24da825b4df8b3414e882ae96857d4bc33c6fe 100644
--- a/third_party/WebKit/LayoutTests/media/video-paint-test.js
+++ b/third_party/WebKit/LayoutTests/media/video-paint-test.js
@@ -21,8 +21,11 @@ function init()
}
waitForMultipleEvents("seeked", videos.length, function() {
- if (window.testRunner)
- testRunner.notifyDone();
+ if (window.testRunner) {
+ testRunner.layoutAndPaintAsyncThen(function() {
+ testRunner.notifyDone();
+ });
+ }
});
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698