| Index: tools/dom/templates/html/impl/impl_Window.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| index d7dadf4408cc2159aa008d906ab4be1ad64f71db..b84bb5f3fa4760408a3080e9401bbaa9f2f10b8f 100644
|
| --- a/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| @@ -27,7 +27,7 @@ $endif
|
| * [animationFrame] again for the animation to continue.
|
| */
|
| Future<num> get animationFrame {
|
| - var completer = new Completer<num>();
|
| + var completer = new Completer<num>.sync();
|
| requestAnimationFrame((time) {
|
| completer.complete(time);
|
| });
|
|
|