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 8d55429e0a46624413384e604fe8f0377c4ecdab..527a8ae054ec64f36c1be15e9f7f25a908ba111a 100644 |
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
@@ -474,8 +474,7 @@ class Index extends NativeFieldWrapperClass2 { |
} |
var request; |
if (direction == null) { |
- // FIXME: Passing in "next" should be unnecessary. |
- request = _openCursor(key_OR_range, "next"); |
+ request = _openCursor(key_OR_range); |
} else { |
request = _openCursor(key_OR_range, direction); |
} |
@@ -502,8 +501,7 @@ class Index extends NativeFieldWrapperClass2 { |
} |
var request; |
if (direction == null) { |
- // FIXME: Passing in "next" should be unnecessary. |
- request = _openKeyCursor(key_OR_range, "next"); |
+ request = _openKeyCursor(key_OR_range); |
} else { |
request = _openKeyCursor(key_OR_range, direction); |
} |
@@ -547,11 +545,11 @@ class Index extends NativeFieldWrapperClass2 { |
@DomName('IDBIndex.openCursor') |
@DocsEditable() |
- Request _openCursor(Object range, String direction) => _blink.BlinkIDBIndex.openCursor_Callback_ScriptValue_DOMString(this, range, direction); |
+ Request _openCursor(Object key, [String direction]) => _blink.BlinkIDBIndex.openCursor_Callback_ScriptValue_DOMString(this, key, direction); |
@DomName('IDBIndex.openKeyCursor') |
@DocsEditable() |
- Request _openKeyCursor(Object range, String direction) => _blink.BlinkIDBIndex.openKeyCursor_Callback_ScriptValue_DOMString(this, range, direction); |
+ Request _openKeyCursor(Object key, [String direction]) => _blink.BlinkIDBIndex.openKeyCursor_Callback_ScriptValue_DOMString(this, key, direction); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |