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

Unified Diff: sdk/lib/_internal/lib/js_array.dart

Issue 107333003: Fix an old TODO. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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/_collection_dev/lists.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/js_array.dart
===================================================================
--- sdk/lib/_internal/lib/js_array.dart (revision 31056)
+++ sdk/lib/_internal/lib/js_array.dart (working copy)
@@ -269,11 +269,11 @@
if (end < start || end > receiverLength) {
throw new RangeError.range(end, start, receiverLength);
}
- Arrays.copy(this,
- end,
- this,
- start,
- receiverLength - end);
+ Lists.copy(this,
+ end,
+ this,
+ start,
+ receiverLength - end);
this.length = receiverLength - (end - start);
}
« no previous file with comments | « sdk/lib/_collection_dev/lists.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698