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

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

Issue 9608016: Regenerate the wrapperless DOM. (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
« no previous file with comments | « client/html/generated/html/dartium/IDBIndex.dart ('k') | client/html/generated/html/dartium/Metadata.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e5c382922dcf9dda46cf9f60493f6f5602c50423..57d7b37acdc0ec3dbdee0053dab287fb26e2f6b8 100644
--- a/client/html/generated/html/dartium/IDBObjectStore.dart
+++ b/client/html/generated/html/dartium/IDBObjectStore.dart
@@ -22,19 +22,12 @@ class _IDBObjectStoreImpl extends _DOMTypeBase implements IDBObjectStore {
return _wrap(_ptr.clear());
}
- IDBRequest count([var key_OR_range = null]) {
- if (key_OR_range === null) {
+ IDBRequest count([IDBKeyRange range = null]) {
+ if (range === null) {
return _wrap(_ptr.count());
} else {
- if (key_OR_range is IDBKeyRange) {
- return _wrap(_ptr.count(_unwrap(key_OR_range)));
- } else {
- if (key_OR_range is IDBKey) {
- return _wrap(_ptr.count(_unwrap(key_OR_range)));
- }
- }
+ return _wrap(_ptr.count(_unwrap(range)));
}
- throw "Incorrect number or type of arguments";
}
IDBIndex createIndex(String name, String keyPath) {
« no previous file with comments | « client/html/generated/html/dartium/IDBIndex.dart ('k') | client/html/generated/html/dartium/Metadata.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698