| Index: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
|
| diff --git a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
|
| index ad0ea6d8e4dea091d91e7d8c1a7762e4d3688ef8..eb045b09294b4171ce9f37b617cb83d893c53c8c 100644
|
| --- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
|
| +++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
|
| @@ -309,7 +309,7 @@ class Database extends EventTarget {
|
|
|
| ObjectStore _createObjectStore(String name, [Map options]) {
|
| if (options != null) {
|
| - return _blink.BlinkIDBDatabase.instance.createObjectStore_Callback_2_(unwrap_jso(this), name, options != null ? new js.JsObject.jsify(options) : options);
|
| + return _blink.BlinkIDBDatabase.instance.createObjectStore_Callback_2_(unwrap_jso(this), name, options);
|
| }
|
| return _blink.BlinkIDBDatabase.instance.createObjectStore_Callback_1_(unwrap_jso(this), name);
|
| }
|
| @@ -911,13 +911,13 @@ class ObjectStore extends NativeFieldWrapperClass2 {
|
| return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_2_(unwrap_jso(this), name, unwrap_jso(keyPath));
|
| }
|
| if ((options is Map || options == null) && (keyPath is String || keyPath == null) && (name is String || name == null)) {
|
| - return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_3_(unwrap_jso(this), name, unwrap_jso(keyPath), options != null ? new js.JsObject.jsify(options) : options);
|
| + return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_3_(unwrap_jso(this), name, unwrap_jso(keyPath), options);
|
| }
|
| if ((keyPath is List<String> || keyPath == null) && (name is String || name == null) && options == null) {
|
| return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_2_(unwrap_jso(this), name, unwrap_jso(keyPath));
|
| }
|
| if ((options is Map || options == null) && (keyPath is List<String> || keyPath == null) && (name is String || name == null)) {
|
| - return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_3_(unwrap_jso(this), name, unwrap_jso(keyPath), options != null ? new js.JsObject.jsify(options) : options);
|
| + return _blink.BlinkIDBObjectStore.instance.createIndex_Callback_3_(unwrap_jso(this), name, unwrap_jso(keyPath), options);
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
|
|