| Index: third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js b/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
|
| index 93ce90de5005a2ddfc7aad27197f6a2ab9cb9cbc..39b24aa65dbf94f83147079a8f1cbebc0e3cdb37 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
|
| +++ b/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
|
| @@ -71,9 +71,9 @@ function finishRepaintTest()
|
| testRunner.setCustomTextOutput(repaintRects);
|
|
|
| if (window.afterTest)
|
| - window.afterTest();
|
| + window.afterTest(repaintRects);
|
|
|
| - // Play nice with async JS tests which want to notifyDone themselves.
|
| - if (!window.jsTestIsAsync)
|
| + // Play nice with async JS tests and harness tests which want to notifyDone themselves.
|
| + if (!window.jsTestIsAsync && !window.add_completion_callback)
|
| testRunner.notifyDone();
|
| }
|
|
|