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

Unified Diff: tests/html/url_test.dart

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head Created 7 years, 10 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 | « tests/corelib/strings_test.dart ('k') | tests/language/char_escape_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/url_test.dart
diff --git a/tests/html/url_test.dart b/tests/html/url_test.dart
index f332b30e75e383eec2b61b0bda56cdb1901f59d3..fec1d448a5b6c25bf4fa4b60f3a53ee5324d8c29 100644
--- a/tests/html/url_test.dart
+++ b/tests/html/url_test.dart
@@ -26,7 +26,7 @@ main() {
var arrayBuffer = new ArrayBuffer(byteString.length);
var dataArray = new Uint8Array.fromBuffer(arrayBuffer);
for (var i = 0; i < byteString.length; i++) {
- dataArray[i] = byteString.charCodeAt(i);
+ dataArray[i] = byteString.codeUnitAt(i);
}
var blob = new Blob([arrayBuffer], 'image/png');
« no previous file with comments | « tests/corelib/strings_test.dart ('k') | tests/language/char_escape_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698