Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1133)

Unified Diff: client/html/generated/html/dartium/IDBObjectStore.dart

Issue 9594047: Regenerate the new HTML stuff. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « client/html/generated/html/dartium/IDBDatabase.dart ('k') | client/html/generated/html/dartium/Uint8ClampedArray.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698