| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 612342ab7b4d53962340f35d332b726d65c01f52..81345b302d80f95076e308b062d729042be99e76 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -10160,7 +10160,7 @@ RawString* String::New(const uint8_t* utf8_array,
|
| }
|
| return strobj.raw();
|
| }
|
| - ASSERT((type == Utf8::kBMP) || (type == Utf8::kSMP));
|
| + ASSERT((type == Utf8::kBMP) || (type == Utf8::kSupplementary));
|
| const String& strobj = String::Handle(TwoByteString::New(len, space));
|
| NoGCScope no_gc;
|
| Utf8::DecodeToUTF16(utf8_array, array_len,
|
|
|