Index: runtime/vm/tags.cc |
diff --git a/runtime/vm/tags.cc b/runtime/vm/tags.cc |
index 4349844158ebd48805d515954a224a2f2760c8d1..0a82be3b7b8e134e482ffedc56a1972f45fc74d0 100644 |
--- a/runtime/vm/tags.cc |
+++ b/runtime/vm/tags.cc |
@@ -145,11 +145,11 @@ void VMTagCounters::PrintToJSONObject(JSONObject* obj) { |
const char* UserTags::TagName(uword tag_id) { |
ASSERT(tag_id >= kUserTagIdOffset); |
ASSERT(tag_id < kUserTagIdOffset + kMaxUserTags); |
- Isolate* isolate = Isolate::Current(); |
+ Zone* zone = Thread::Current()->zone(); |
const UserTag& tag = |
- UserTag::Handle(isolate, UserTag::FindTagById(tag_id)); |
+ UserTag::Handle(zone, UserTag::FindTagById(tag_id)); |
ASSERT(!tag.IsNull()); |
- const String& label = String::Handle(isolate, tag.label()); |
+ const String& label = String::Handle(zone, tag.label()); |
return label.ToCString(); |
} |