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); |
} |
} |