Chromium Code Reviews| Index: runtime/vm/unicode.h |
| diff --git a/runtime/vm/unicode.h b/runtime/vm/unicode.h |
| index 00e51a1ea786fbdd481ed2c5a04750a19d73bd39..ef6b1e354f269885e0ce247815cf6d01cbf3d876 100644 |
| --- a/runtime/vm/unicode.h |
| +++ b/runtime/vm/unicode.h |
| @@ -21,6 +21,8 @@ class Utf8 : AllStatic { |
| static intptr_t CodePointCount(const char* str, intptr_t* width); |
| + static bool IsValid(const char* src); |
| + |
| static intptr_t Length(int32_t ch); |
| static intptr_t Length(const String& str); |