| Index: LayoutTests/css3/flexbox/repaint.html
|
| diff --git a/LayoutTests/css3/flexbox/repaint.html b/LayoutTests/css3/flexbox/repaint.html
|
| index aac82b84a8ab3cb861c558ea9841aaafd04af26b..748b539c6f18ae3f38da5366f9b4244da331dde6 100644
|
| --- a/LayoutTests/css3/flexbox/repaint.html
|
| +++ b/LayoutTests/css3/flexbox/repaint.html
|
| @@ -33,7 +33,7 @@ function step(count) {
|
| setFlex("content", animationPercentage, 1, 5);
|
|
|
| if (!count)
|
| - setTimeout(step.bind(null, 1));
|
| + requestAnimationFrame(step.bind(null, 1));
|
| else if (window.testRunner) {
|
| finishRepaintTest();
|
| }
|
| @@ -44,7 +44,7 @@ window.onload = runRepaintTest;
|
|
|
| function repaintTest() {
|
| window.startTime = Date.now();
|
| - setTimeout(step.bind(null, 0), 0);
|
| + requestAnimationFrame(step.bind(null, 0));
|
| }
|
| </script>
|
| </head>
|
|
|