| Index: sdk/lib/utf/utf16.dart
|
| diff --git a/sdk/lib/utf/utf16.dart b/sdk/lib/utf/utf16.dart
|
| index c451b1e5112c3537e18fe8d87d85a29a8718bc56..65ff6dab5d32b92c59bbbcf7906acf0cc8b895fd 100644
|
| --- a/sdk/lib/utf/utf16.dart
|
| +++ b/sdk/lib/utf/utf16.dart
|
| @@ -178,7 +178,7 @@ bool hasUtf16leBom(List<int> utf16EncodedBytes, [int offset = 0, int length]) {
|
| }
|
|
|
| List<int> _stringToUtf16CodeUnits(String str) {
|
| - return _codepointsToUtf16CodeUnits(str.charCodes);
|
| + return _codepointsToUtf16CodeUnits(str.codeUnits);
|
| }
|
|
|
| typedef _ListRangeIterator _CodeUnitsProvider();
|
|
|