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

Unified Diff: client/dom/generated/src/wrapping/_IDBDatabaseWrappingImplementation.dart

Issue 9466036: Fix parsing of DOMString[] in IDL (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/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"; }
}

Powered by Google App Engine
This is Rietveld 408576698