| Index: sdk/lib/_internal/compiler/implementation/string_validator.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/string_validator.dart b/sdk/lib/_internal/compiler/implementation/string_validator.dart
|
| index 788df248eaa839220e52aa4e5fa5996fcf92762b..a5f15e218067e6b85a39ba45c28ced379726c840 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/string_validator.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/string_validator.dart
|
| @@ -168,8 +168,6 @@ class StringValidator {
|
| code = value;
|
| }
|
| }
|
| - // TODO(erikcorry): Use the string code point iterator when available.
|
| - if (code >= String.SUPPLEMENTARY_CODE_POINT_BASE) ++length;;
|
| // This handles both unescaped characters and the value of unicode
|
| // escapes.
|
| if (!isUnicodeScalarValue(code)) {
|
|
|