Index: tools/dom/templates/html/impl/impl_IDBIndex.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate b/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate |
index e9dbcb5d6e1518b14033578adce5eeae791bd643..ff033a2ddcd2c36a581771f4fad2d60b02131ede 100644 |
--- a/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate |
@@ -57,7 +57,8 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
} |
var request; |
if (direction == null) { |
- request = _openCursor(key_OR_range); |
+ // FIXME: Passing in "next" should be unnecessary. |
+ request = _openCursor(key_OR_range, "next"); |
} else { |
request = _openCursor(key_OR_range, direction); |
} |
@@ -84,7 +85,8 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
} |
var request; |
if (direction == null) { |
- request = _openKeyCursor(key_OR_range); |
+ // FIXME: Passing in "next" should be unnecessary. |
+ request = _openKeyCursor(key_OR_range, "next"); |
} else { |
request = _openKeyCursor(key_OR_range, direction); |
} |