| Index: lib/html/dartium/html_dartium.dart
|
| diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
|
| index f129f36a6a2494447c52e7eb5acefcbe68274255..1c66ac140966c7a14cbd04c31594111437d0359f 100644
|
| --- a/lib/html/dartium/html_dartium.dart
|
| +++ b/lib/html/dartium/html_dartium.dart
|
| @@ -17404,9 +17404,7 @@ class _IDBIndexImpl extends NativeFieldWrapperClass1 implements IDBIndex {
|
| if ((key_OR_range is IDBKeyRange || key_OR_range == null)) {
|
| return _count_2(key_OR_range);
|
| }
|
| - if ((key_OR_range is dynamic || key_OR_range == null)) {
|
| - return _count_3(key_OR_range);
|
| - }
|
| + return _count_3(key_OR_range);
|
| throw "Incorrect number or type of arguments";
|
| }
|
|
|
| @@ -17420,9 +17418,7 @@ class _IDBIndexImpl extends NativeFieldWrapperClass1 implements IDBIndex {
|
| if ((key is IDBKeyRange || key == null)) {
|
| return _get_1(key);
|
| }
|
| - if ((key is dynamic || key == null)) {
|
| - return _get_2(key);
|
| - }
|
| + return _get_2(key);
|
| throw "Incorrect number or type of arguments";
|
| }
|
|
|
| @@ -17434,9 +17430,7 @@ class _IDBIndexImpl extends NativeFieldWrapperClass1 implements IDBIndex {
|
| if ((key is IDBKeyRange || key == null)) {
|
| return _getKey_1(key);
|
| }
|
| - if ((key is dynamic || key == null)) {
|
| - return _getKey_2(key);
|
| - }
|
| + return _getKey_2(key);
|
| throw "Incorrect number or type of arguments";
|
| }
|
|
|
| @@ -17454,10 +17448,10 @@ class _IDBIndexImpl extends NativeFieldWrapperClass1 implements IDBIndex {
|
| if ((key_OR_range is IDBKeyRange || key_OR_range == null) && (direction is String || direction == null)) {
|
| return _openCursor_3(key_OR_range, direction);
|
| }
|
| - if ((key_OR_range is dynamic || key_OR_range == null) && !?direction) {
|
| + if (!?direction) {
|
| return _openCursor_4(key_OR_range);
|
| }
|
| - if ((key_OR_range is dynamic || key_OR_range == null) && (direction is String || direction == null)) {
|
| + if ((direction is String || direction == null)) {
|
| return _openCursor_5(key_OR_range, direction);
|
| }
|
| throw "Incorrect number or type of arguments";
|
| @@ -17483,10 +17477,10 @@ class _IDBIndexImpl extends NativeFieldWrapperClass1 implements IDBIndex {
|
| if ((key_OR_range is IDBKeyRange || key_OR_range == null) && (direction is String || direction == null)) {
|
| return _openKeyCursor_3(key_OR_range, direction);
|
| }
|
| - if ((key_OR_range is dynamic || key_OR_range == null) && !?direction) {
|
| + if (!?direction) {
|
| return _openKeyCursor_4(key_OR_range);
|
| }
|
| - if ((key_OR_range is dynamic || key_OR_range == null) && (direction is String || direction == null)) {
|
| + if ((direction is String || direction == null)) {
|
| return _openKeyCursor_5(key_OR_range, direction);
|
| }
|
| throw "Incorrect number or type of arguments";
|
| @@ -17731,9 +17725,7 @@ class _IDBObjectStoreImpl extends NativeFieldWrapperClass1 implements IDBObjectS
|
| if ((key_OR_range is IDBKeyRange || key_OR_range == null)) {
|
| return _count_2(key_OR_range);
|
| }
|
| - if ((key_OR_range is dynamic || key_OR_range == null)) {
|
| - return _count_3(key_OR_range);
|
| - }
|
| + return _count_3(key_OR_range);
|
| throw "Incorrect number or type of arguments";
|
| }
|
|
|
| @@ -17771,9 +17763,7 @@ class _IDBObjectStoreImpl extends NativeFieldWrapperClass1 implements IDBObjectS
|
| if ((key_OR_keyRange is IDBKeyRange || key_OR_keyRange == null)) {
|
| return _delete_1(key_OR_keyRange);
|
| }
|
| - if ((key_OR_keyRange is dynamic || key_OR_keyRange == null)) {
|
| - return _delete_2(key_OR_keyRange);
|
| - }
|
| + return _delete_2(key_OR_keyRange);
|
| throw "Incorrect number or type of arguments";
|
| }
|
|
|
| @@ -17787,9 +17777,7 @@ class _IDBObjectStoreImpl extends NativeFieldWrapperClass1 implements IDBObjectS
|
| if ((key is IDBKeyRange || key == null)) {
|
| return _get_1(key);
|
| }
|
| - if ((key is dynamic || key == null)) {
|
| - return _get_2(key);
|
| - }
|
| + return _get_2(key);
|
| throw "Incorrect number or type of arguments";
|
| }
|
|
|
| @@ -17809,10 +17797,10 @@ class _IDBObjectStoreImpl extends NativeFieldWrapperClass1 implements IDBObjectS
|
| if ((key_OR_range is IDBKeyRange || key_OR_range == null) && (direction is String || direction == null)) {
|
| return _openCursor_3(key_OR_range, direction);
|
| }
|
| - if ((key_OR_range is dynamic || key_OR_range == null) && !?direction) {
|
| + if (!?direction) {
|
| return _openCursor_4(key_OR_range);
|
| }
|
| - if ((key_OR_range is dynamic || key_OR_range == null) && (direction is String || direction == null)) {
|
| + if ((direction is String || direction == null)) {
|
| return _openCursor_5(key_OR_range, direction);
|
| }
|
| throw "Incorrect number or type of arguments";
|
|
|