Index: third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html |
diff --git a/third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html b/third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html |
index c81fdcb35f0025aac4effb790b59a1ca6dec6fbe..e0b6a426dd74d98e1312b83d6dddf2e211c727aa 100644 |
--- a/third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html |
+++ b/third_party/WebKit/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html |
@@ -29,9 +29,11 @@ window.onload = function () { |
consoleWrite("Should report another rect which is not on the document"); |
else |
consoleWrite("Should keep rect on document"); |
- window.internals.forceCompositingUpdate(document); |
- logRects('handler'); |
- endTest(); |
+ testRunner.layoutAndPaintAsyncThen(function() { |
+ window.internals.forceCompositingUpdate(document); |
+ logRects('handler'); |
+ endTest(); |
+ }); |
}); |
runWithKeyDown(function(){document.querySelector('#video').webkitRequestFullScreen()}); |