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

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

Issue 9619015: Regenerate dart:dom and dart:html bindings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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/_IDBIndexWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_IDBIndexWrappingImplementation.dart b/client/dom/generated/src/wrapping/_IDBIndexWrappingImplementation.dart
index 4c4d1624b37156f2a1b791ff701677a96fcbd1c3..2a85a41cedc16feb902e6e8eb51da062b8ab2ad3 100644
--- a/client/dom/generated/src/wrapping/_IDBIndexWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_IDBIndexWrappingImplementation.dart
@@ -26,15 +26,23 @@ class _IDBIndexWrappingImplementation extends DOMWrapperBase implements IDBIndex
bool get unique() { return _get_unique(this); }
static bool _get_unique(var _this) native;
- IDBRequest count([IDBKeyRange range = null]) {
- if (range === null) {
+ IDBRequest count([var key_OR_range = null]) {
+ if (key_OR_range === null) {
return _count(this);
} else {
- return _count_2(this, range);
+ if (key_OR_range is IDBKeyRange) {
+ return _count_2(this, key_OR_range);
+ } else {
+ if (key_OR_range is IDBKey) {
+ return _count_3(this, key_OR_range);
+ }
+ }
}
+ throw "Incorrect number or type of arguments";
}
static IDBRequest _count(receiver) native;
- static IDBRequest _count_2(receiver, range) native;
+ static IDBRequest _count_2(receiver, key_OR_range) native;
+ static IDBRequest _count_3(receiver, key_OR_range) native;
IDBRequest getObject(IDBKey key) {
return _getObject(this, key);

Powered by Google App Engine
This is Rietveld 408576698