| Index: LayoutTests/compositing/img-layer-grow.html
|
| diff --git a/LayoutTests/compositing/img-layer-grow.html b/LayoutTests/compositing/img-layer-grow.html
|
| index 01a8f4d556fadea23396cf48d95ed96ccbf1b1f3..55cf46d2fc8df6ca322e54bf963e51db78689d30 100644
|
| --- a/LayoutTests/compositing/img-layer-grow.html
|
| +++ b/LayoutTests/compositing/img-layer-grow.html
|
| @@ -1,6 +1,7 @@
|
| <!DOCTYPE HTML>
|
| <html>
|
| <head>
|
| +<script src="../resources/run-after-display.js"></script>
|
| <script src="resources/mock_scrollbars.js"></script>
|
| <script type="text/javascript" charset="utf-8">
|
|
|
| @@ -12,13 +13,11 @@
|
| function doTest()
|
| {
|
| div = document.getElementById("div");
|
| - if (window.testRunner)
|
| - testRunner.display();
|
| - window.setTimeout(function() {
|
| + runAfterDisplay(function() {
|
| div.style.height = "1600px";
|
| if (window.testRunner)
|
| testRunner.notifyDone();
|
| - }, 0);
|
| + });
|
| }
|
|
|
| window.addEventListener('load', doTest, false);
|
|
|