| Index: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| diff --git a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| index a67b5d3912a0c8008af6392066ae0fc0eed9f583..80671f8cf067acb2a893015a36fee3d550bbb7e4 100644
|
| --- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| +++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| @@ -464,7 +464,7 @@ class IdbFactory native "IDBFactory" {
|
| * and errors out when the request errors.
|
| */
|
| Future _completeRequest(Request request) {
|
| - var completer = new Completer();
|
| + var completer = new Completer.sync();
|
| // TODO: make sure that completer.complete is synchronous as transactions
|
| // may be committed if the result is not processed immediately.
|
| request.onSuccess.listen((e) {
|
|
|