| Index: LayoutTests/fast/repaint/obscured-background-no-repaint.html
|
| diff --git a/LayoutTests/fast/repaint/obscured-background-no-repaint.html b/LayoutTests/fast/repaint/obscured-background-no-repaint.html
|
| index 3c42078c10c8c5a5440f488ab65c0f95f46dbf54..6d700b55189b73ccc09d7f86ce4ae0d2f0c01e1a 100644
|
| --- a/LayoutTests/fast/repaint/obscured-background-no-repaint.html
|
| +++ b/LayoutTests/fast/repaint/obscured-background-no-repaint.html
|
| @@ -2,6 +2,7 @@
|
| <head>
|
| <script>jsTestIsAsync = true;</script>
|
| <script src="../../resources/js-test.js"></script>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| <style type="text/css">
|
| #test1 div {
|
| height: 100px;
|
| @@ -50,12 +51,10 @@
|
| {
|
| document.body.offsetTop;
|
| window.internals.startTrackingRepaints(document);
|
| - testRunner.display();
|
| - setTimeout(logRepaints, 200);
|
| + runAfterDisplay(logRepaints);
|
| }
|
|
|
| - function logRepaints()
|
| - {
|
| + function logRepaints() {
|
| repaintRects = window.internals.repaintRectsAsText(document);
|
| window.internals.stopTrackingRepaints(document);
|
|
|
|
|