| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 5bbd1413bf4b8562fe1dee520634015e5b1da8ac..9c024b7b348d38ef1434410a8e87b83c15009037 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -26733,7 +26733,7 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
|
| * [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);
|
| });
|
|
|