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

Unified Diff: sdk/lib/io/base64.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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/io/http_headers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/base64.dart
diff --git a/sdk/lib/io/base64.dart b/sdk/lib/io/base64.dart
index f57eea6325562dfe3aef847b35cee8a18ee1f4a9..12c1e5f8367a87f96a782162093ebc91a84b1b3c 100644
--- a/sdk/lib/io/base64.dart
+++ b/sdk/lib/io/base64.dart
@@ -68,7 +68,7 @@ class _Base64 {
int charCount = 0;
int value = 0;
for (int i = 0; i < data.length; i++) {
- int char = data.charCodeAt(i);
+ int char = data.codeUnitAt(i);
if (65 <= char && char <= 90) { // "A" - "Z".
value = (value << 6) | char - 65;
charCount++;
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/io/http_headers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698