| Index: LayoutTests/fast/repaint/resources/text-based-repaint.js
|
| diff --git a/LayoutTests/fast/repaint/resources/text-based-repaint.js b/LayoutTests/fast/repaint/resources/text-based-repaint.js
|
| index c85bb11c258f7a8303da774562a64d87e6ee3cad..2932195737ca9afdf0c2e714d50865ed64c120c7 100644
|
| --- a/LayoutTests/fast/repaint/resources/text-based-repaint.js
|
| +++ b/LayoutTests/fast/repaint/resources/text-based-repaint.js
|
| @@ -51,6 +51,16 @@ function runRepaintAndPixelTest()
|
| runRepaintTest();
|
| }
|
|
|
| +function runAfterDisplay(callback)
|
| +{
|
| + if (!window.testRunner) {
|
| + setTimeout(callback, 500);
|
| + } else {
|
| + testRunner.waitUntilDone();
|
| + testRunner.displayAsyncThen(callback);
|
| + }
|
| +}
|
| +
|
| function forceStyleRecalc()
|
| {
|
| if (document.body)
|
|
|