Index: client/html/generated/html/dartium/IDBObjectStore.dart |
diff --git a/client/html/generated/html/dartium/IDBObjectStore.dart b/client/html/generated/html/dartium/IDBObjectStore.dart |
index 7ff8bdfecac73b3a21a12d89343274c7378c90e7..57d7b37acdc0ec3dbdee0053dab287fb26e2f6b8 100644 |
--- a/client/html/generated/html/dartium/IDBObjectStore.dart |
+++ b/client/html/generated/html/dartium/IDBObjectStore.dart |
@@ -34,8 +34,15 @@ class _IDBObjectStoreImpl extends _DOMTypeBase implements IDBObjectStore { |
return _wrap(_ptr.createIndex(_unwrap(name), _unwrap(keyPath))); |
} |
- IDBRequest delete(IDBKey key) { |
- return _wrap(_ptr.delete(_unwrap(key))); |
+ IDBRequest delete(var key_OR_keyRange) { |
+ if (key_OR_keyRange is IDBKeyRange) { |
+ return _wrap(_ptr.delete(_unwrap(key_OR_keyRange))); |
+ } else { |
+ if (key_OR_keyRange is IDBKey) { |
+ return _wrap(_ptr.delete(_unwrap(key_OR_keyRange))); |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
} |
void deleteIndex(String name) { |