| 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 80671f8cf067acb2a893015a36fee3d550bbb7e4..d449b5bb835340314b514c31e5fed46538a01211 100644
|
| --- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| +++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| @@ -904,7 +904,7 @@ class ObjectStore native "IDBObjectStore" {
|
| List keyPath_1 = convertDartToNative_StringArray(keyPath);
|
| return _$dom_createIndex_1(name, keyPath_1);
|
| }
|
| - if ((keyPath is List<String> || keyPath == null)) {
|
| + if ((keyPath is List<String> || keyPath == null) && ?options) {
|
| List keyPath_2 = convertDartToNative_StringArray(keyPath);
|
| var options_3 = convertDartToNative_Dictionary(options);
|
| return _$dom_createIndex_2(name, keyPath_2, options_3);
|
| @@ -912,7 +912,7 @@ class ObjectStore native "IDBObjectStore" {
|
| if ((keyPath is String || keyPath == null) && !?options) {
|
| return _$dom_createIndex_3(name, keyPath);
|
| }
|
| - if ((keyPath is String || keyPath == null)) {
|
| + if ((keyPath is String || keyPath == null) && ?options) {
|
| var options_4 = convertDartToNative_Dictionary(options);
|
| return _$dom_createIndex_4(name, keyPath, options_4);
|
| }
|
|
|