Index: third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html |
diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html |
index 34f58dfea8d896d4f411f75f3a30b53a18e86f36..56bd35698d53786c2ae03bfce65eb27d6c7f16f4 100644 |
--- a/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html |
+++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html |
@@ -5,7 +5,9 @@ |
var runPixelTests = true; |
function init() { |
- waitForEventAndEnd(document, 'webkitfullscreenchange'); |
+ waitForEventOnce(document, 'webkitfullscreenchange', function() { |
+ testRunner.layoutAndPaintAsyncThen(endTest); |
+ }); |
runWithKeyDown(goFullScreen); |
} |