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

Unified Diff: client/html/generated/html/dartium/IDBDatabase.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/IDBDatabase.dart
diff --git a/client/html/generated/html/dartium/IDBDatabase.dart b/client/html/generated/html/dartium/IDBDatabase.dart
index 00018a45f91db9e52a7021b8836415caa3fe68d9..4e278c75b551a7969cec51ee611818a7f1cd1182 100644
--- a/client/html/generated/html/dartium/IDBDatabase.dart
+++ b/client/html/generated/html/dartium/IDBDatabase.dart
@@ -62,12 +62,20 @@ class _IDBDatabaseImpl extends _DOMTypeBase implements IDBDatabase {
return _wrap(_ptr.setVersion(_unwrap(version)));
}
- IDBTransaction transaction(var storeName_OR_storeNames, int mode) {
+ IDBTransaction transaction(var storeName_OR_storeNames, [int mode = null]) {
if (storeName_OR_storeNames is List<String>) {
- return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames), _unwrap(mode)));
+ if (mode === null) {
+ return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames)));
+ } else {
+ return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames), _unwrap(mode)));
+ }
} else {
if (storeName_OR_storeNames is String) {
- return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames), _unwrap(mode)));
+ if (mode === null) {
+ return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames)));
+ } else {
+ return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames), _unwrap(mode)));
+ }
}
}
throw "Incorrect number or type of arguments";
« no previous file with comments | « client/html/generated/html/dartium/Element.dart ('k') | client/html/generated/html/dartium/IDBObjectStore.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698