Index: client/dom/generated/src/wrapping/_IDBDatabaseWrappingImplementation.dart |
diff --git a/client/dom/generated/src/wrapping/_IDBDatabaseWrappingImplementation.dart b/client/dom/generated/src/wrapping/_IDBDatabaseWrappingImplementation.dart |
index f0a1021c424b9bb3e12f81cc73a4b61a83649b82..0520ac73325a86c3af78b2510252f3a9bb6c102e 100644 |
--- a/client/dom/generated/src/wrapping/_IDBDatabaseWrappingImplementation.dart |
+++ b/client/dom/generated/src/wrapping/_IDBDatabaseWrappingImplementation.dart |
@@ -86,10 +86,15 @@ class _IDBDatabaseWrappingImplementation extends DOMWrapperBase implements IDBDa |
} |
static IDBVersionChangeRequest _setVersion(receiver, version) native; |
- IDBTransaction transaction(String storeName, int mode) { |
- return _transaction(this, storeName, mode); |
+ IDBTransaction transaction(String storeName, [int mode = null]) { |
+ if (mode === null) { |
+ return _transaction(this, storeName); |
+ } else { |
+ return _transaction_2(this, storeName, mode); |
+ } |
} |
- static IDBTransaction _transaction(receiver, storeName, mode) native; |
+ static IDBTransaction _transaction(receiver, storeName) native; |
+ static IDBTransaction _transaction_2(receiver, storeName, mode) native; |
String get typeName() { return "IDBDatabase"; } |
} |