Index: LayoutTests/svg/custom/js-late-marker-and-object-creation.svg |
diff --git a/LayoutTests/svg/custom/js-late-marker-and-object-creation.svg b/LayoutTests/svg/custom/js-late-marker-and-object-creation.svg |
index 18b4f6409f1ee33343026c81b53c5c6d56d83d65..4600853278c9e45fa512cb10c841872061c8babf 100644 |
--- a/LayoutTests/svg/custom/js-late-marker-and-object-creation.svg |
+++ b/LayoutTests/svg/custom/js-late-marker-and-object-creation.svg |
@@ -19,7 +19,7 @@ |
var content = document.getElementById("content"); |
function repaintTest() { |
- setTimeout(createObject, 0); |
+ requestAnimationFrame(createObject); |
} |
function createObject() |
@@ -34,7 +34,7 @@ |
path.setAttribute("d", "M 130 135 L 180 135 L 180 185"); |
content.appendChild(path); |
- setTimeout(createMarker, 0); |
+ requestAnimationFrame(createMarker); |
} |
function createMarker() |