Index: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
diff --git a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
index 3e843ac4b324f36c64251f1c9f6c84406cd15d71..0c150df30ddc0952c9bb2adc9ee0c79f958add48 100644 |
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
@@ -80,6 +80,10 @@ class Cursor extends NativeFieldWrapperClass1 { |
@DocsEditable |
void advance(int count) native "IDBCursor_advance_Callback"; |
+ @DomName('IDBCursor.delete') |
+ @DocsEditable |
+ Request $dom_delete() native "IDBCursor_delete_Callback"; |
+ |
void next([Object key]) { |
if (?key) { |
_continue_1(key); |
@@ -97,10 +101,6 @@ class Cursor extends NativeFieldWrapperClass1 { |
@DocsEditable |
void _continue_2() native "IDBCursor__continue_2_Callback"; |
- @DomName('IDBCursor.delete') |
- @DocsEditable |
- Request $dom_delete() native "IDBCursor_delete_Callback"; |
- |
@DomName('IDBCursor.update') |
@DocsEditable |
Request $dom_update(Object value) native "IDBCursor_update_Callback"; |
@@ -801,10 +801,10 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
} |
} |
- @DomName('IDBObjectStore.getObject') |
+ @DomName('IDBObjectStore.get') |
Future getObject(key) { |
try { |
- var request = $dom_getObject(key); |
+ var request = $dom_get(key); |
return _completeRequest(request); |
} catch (e, stacktrace) { |
@@ -975,7 +975,7 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
@DocsEditable |
void deleteIndex(String name) native "IDBObjectStore_deleteIndex_Callback"; |
- Request $dom_getObject(key) { |
+ Request $dom_get(key) { |
if ((key is KeyRange || key == null)) { |
return _get_1(key); |
} |