| 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 d799d0f0843e8f21a182656eadc9e199768ffd68..61d07c532fbca3442a82c3a2bab30a7c12b66f64 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();
|
| }
|
|
|