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

Unified Diff: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart

Issue 589253002: Revert "Chrome 38 script changes from integration branch" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | « sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698