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

Unified Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.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/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
diff --git a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
index 33c10213cefdb7012f71b03849e5924c21ba6544..2267a4fc625c884e871dda4d5c5239b42ed14a45 100644
--- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
+++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
@@ -701,8 +701,7 @@ class Index extends Interceptor {
}
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);
}
@@ -729,8 +728,7 @@ class Index extends Interceptor {
}
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);
}
@@ -789,7 +787,7 @@ class Index extends Interceptor {
@Returns('Request')
@Creates('Request')
@Creates('Cursor')
- Request _openCursor(Object range, String direction) native;
+ Request _openCursor(Object key, [String direction]) native;
@JSName('openKeyCursor')
@DomName('IDBIndex.openKeyCursor')
@@ -797,7 +795,7 @@ class Index extends Interceptor {
@Returns('Request')
@Creates('Request')
@Creates('Cursor')
- Request _openKeyCursor(Object range, String direction) native;
+ Request _openKeyCursor(Object key, [String direction]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698