Index: LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg |
diff --git a/LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg b/LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg |
index bfe76a1c9e3dc3c939e7a94ab6907eafddd0b374..04380e6e3d05b276bd7e077360bf54d77f25923a 100644 |
--- a/LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg |
+++ b/LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg |
@@ -9,7 +9,7 @@ |
var content = document.getElementById("content"); |
function repaintTest() { |
- setTimeout(createPatterns, 0); |
+ requestAnimationFrame(createPatterns); |
} |
function createPatterns() |
@@ -70,7 +70,7 @@ |
content.appendChild(pattern2); |
- setTimeout(setupPatternUsers, 0); |
+ requestAnimationFrame(setupPatternUsers); |
} |
function setupPatternUsers() |