| Index: LayoutTests/svg/repaint/image-animation-with-zoom.html
|
| diff --git a/LayoutTests/svg/repaint/image-animation-with-zoom.html b/LayoutTests/svg/repaint/image-animation-with-zoom.html
|
| index a813d531a4f91dcdb4c29f83c3ab285ad136874f..ac333685ad31c45116a7a817d444095d1293e84f 100644
|
| --- a/LayoutTests/svg/repaint/image-animation-with-zoom.html
|
| +++ b/LayoutTests/svg/repaint/image-animation-with-zoom.html
|
| @@ -15,10 +15,10 @@ window.testIsAsync = true;
|
| window.onload = runRepaintTest;
|
|
|
| function repaintTest() {
|
| - setTimeout(function() {
|
| - if (window.testRunner)
|
| - finishRepaintTest();
|
| - }, 220);
|
| + window.internals.advanceImageAnimation(targetImage);
|
| + window.requestAnimationFrame(function() {
|
| + finishRepaintTest();
|
| + });
|
| };
|
| </script>
|
| -<img src="resources/animate-center.svg" width="10px" height="10px">
|
| +<img id="targetImage" src="resources/animate-center.svg" width="10px" height="10px">
|
|
|