| Index: LayoutTests/fast/frames/transparent-scrollbar.html
|
| diff --git a/LayoutTests/fast/frames/transparent-scrollbar.html b/LayoutTests/fast/frames/transparent-scrollbar.html
|
| index 51a3d21e0d7a1f97b8b5552b36a238389eca02e0..28bf481f627ef98837b6cbe41e6c03e44ddb3612 100644
|
| --- a/LayoutTests/fast/frames/transparent-scrollbar.html
|
| +++ b/LayoutTests/fast/frames/transparent-scrollbar.html
|
| @@ -17,22 +17,20 @@ body {
|
| }
|
|
|
| </style>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| <script>
|
| function test()
|
| {
|
| if (window.testRunner) {
|
| testRunner.waitUntilDone();
|
| testRunner.dumpAsTextWithPixelResults();
|
| - testRunner.display();
|
| }
|
| -
|
| - window.setTimeout(function() {
|
| + runAfterDisplay(function() {
|
| document.body.scrollTop = 2000;
|
| if (window.testRunner) {
|
| - testRunner.display();
|
| testRunner.notifyDone();
|
| }
|
| - }, 0);
|
| + });
|
| }
|
| </script>
|
| </head>
|
|
|