Chromium Code Reviews| Index: runtime/vm/unicode.cc |
| diff --git a/runtime/vm/unicode.cc b/runtime/vm/unicode.cc |
| index 16e14e696cbeb10b2d50c2f59de4e1cb52e3e091..615e87b56127c64c6f0d72ebc05d5de8d55e0697 100644 |
| --- a/runtime/vm/unicode.cc |
| +++ b/runtime/vm/unicode.cc |
| @@ -138,7 +138,6 @@ intptr_t Utf8::Length(const String& str) { |
| intptr_t Utf8::Encode(int32_t ch, char* dst) { |
| - ASSERT(!Utf16::IsSurrogate(ch)); |
| static const int kMask = ~(1 << 6); |
| if (ch <= kMaxOneByteChar) { |
| dst[0] = ch; |