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

Unified Diff: lib/utf/utf16.dart

Issue 11263040: Make String.charCodes a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « lib/core/string.dart ('k') | lib/utf/utf_core.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/utf/utf16.dart
diff --git a/lib/utf/utf16.dart b/lib/utf/utf16.dart
index 7018ba4a1ced60b9344ce51e5e7e82d9d7d8a391..d1bd012fc5992a3d4e33d684ad9515dd897d625f 100644
--- a/lib/utf/utf16.dart
+++ b/lib/utf/utf16.dart
@@ -202,9 +202,9 @@ List<int> _stringToUtf16CodeUnits(String str) {
// (http://code.google.com/p/dart/issues/detail?id=1357). Consider
// removing after this issue is resolved.
if (_is16BitCodeUnit()) {
- return str.charCodes();
+ return str.charCodes;
} else {
- return _codepointsToUtf16CodeUnits(str.charCodes());
+ return _codepointsToUtf16CodeUnits(str.charCodes);
}
}
« no previous file with comments | « lib/core/string.dart ('k') | lib/utf/utf_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698