| 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 b8427c523e790557e91c2697cbce0bd66a7f4b61..eb81fcbdd94766fd03c4f4e8081bdbc69cbb6f9d 100644
|
| --- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| +++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| @@ -911,7 +911,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);
|
| @@ -919,7 +919,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);
|
| }
|
|
|