| Index: runtime/vm/symbols.cc
|
| diff --git a/runtime/vm/symbols.cc b/runtime/vm/symbols.cc
|
| index f9b3abf36fd6eb0044b4278261d6e43fef3a97e4..7cafda2542bb1e98851bb50d4ea94525b2fc0fe7 100644
|
| --- a/runtime/vm/symbols.cc
|
| +++ b/runtime/vm/symbols.cc
|
| @@ -350,7 +350,7 @@ RawString* Symbols::FromUTF8(const uint8_t* utf8_array, intptr_t array_len) {
|
| Utf8::Type type;
|
| intptr_t len = Utf8::CodeUnitCount(utf8_array, array_len, &type);
|
| ASSERT(len != 0);
|
| - Zone* zone = Isolate::Current()->current_zone();
|
| + Zone* zone = Thread::Current()->zone();
|
| if (type == Utf8::kLatin1) {
|
| uint8_t* characters = zone->Alloc<uint8_t>(len);
|
| Utf8::DecodeToLatin1(utf8_array, array_len, characters, len);
|
|
|