Chromium Code Reviews| Index: sky/tests/resources/mocha.sky |
| diff --git a/sky/tests/resources/mocha.sky b/sky/tests/resources/mocha.sky |
| index 0b4bf6498d30e42283c0de7cab67ff885b2b74d4..33846110dfa97bc4d3e65cc27284c41bba7745b5 100644 |
| --- a/sky/tests/resources/mocha.sky |
| +++ b/sky/tests/resources/mocha.sky |
| @@ -2441,9 +2441,9 @@ Mocha.process = process; |
| mocha.setup(); |
| window.addEventListener('load', function() { |
| - setTimeout(function() { |
| + requestAnimationFrame(function() { |
| mocha.run(); |
| }); |
| }) |
| -</script> |
| +</script> |