| Index: LayoutTests/svg/custom/mask-invalidation.svg
|
| diff --git a/LayoutTests/svg/custom/mask-invalidation.svg b/LayoutTests/svg/custom/mask-invalidation.svg
|
| index 8667d7cc6dbbd975adb1bade84595f1013b2e5d5..d7a91d48537fc46d29ec8e3ca9ba7f33e17df5a3 100644
|
| --- a/LayoutTests/svg/custom/mask-invalidation.svg
|
| +++ b/LayoutTests/svg/custom/mask-invalidation.svg
|
| @@ -2,6 +2,7 @@
|
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
|
| <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
|
| <script>
|
| +window.testIsAsync = true;
|
| function draw(x, y) {
|
| var maskrect = document.getElementById("maskRect");
|
| maskrect.setAttribute("transform", "translate(" + x + "," + y + ")");
|
| @@ -22,14 +23,10 @@ function draw(x, y) {
|
| }
|
|
|
| function repaintTest() {
|
| - if (window.testRunner)
|
| - testRunner.waitUntilDone();
|
| -
|
| draw(150, 50);
|
| requestAnimationFrame(function() {
|
| draw(50, 50);
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| + finishRepaintTest();
|
| });
|
| }
|
|
|
|
|