Index: LayoutTests/compositing/repaint/fixed-pos-with-composited-child.html |
diff --git a/LayoutTests/compositing/repaint/fixed-pos-with-composited-child.html b/LayoutTests/compositing/repaint/fixed-pos-with-composited-child.html |
index 0fc4609e6128f88c99e292bbb8b00b773172b892..8a7e690738c0c7078a520f01d4684935b602570b 100644 |
--- a/LayoutTests/compositing/repaint/fixed-pos-with-composited-child.html |
+++ b/LayoutTests/compositing/repaint/fixed-pos-with-composited-child.html |
@@ -42,12 +42,14 @@ |
window.scrollTo(0, 100); |
- if (window.internals) |
- document.getElementById('layers').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); |
+ runAfterDisplay(function() { |
+ if (window.internals) |
+ document.getElementById('layers').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); |
- if (window.testRunner) |
- testRunner.notifyDone(); |
- }); |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }); |
+ }); |
} |
</script> |
</head> |