Index: runtime/vm/locations.cc |
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc |
index 69fc7ccd36b7af4487979d763da750367f435490..525855a94a7ec392ae1bcac825b33d47576cbdef 100644 |
--- a/runtime/vm/locations.cc |
+++ b/runtime/vm/locations.cc |
@@ -219,7 +219,7 @@ const char* Location::ToCString() const { |
char buffer[1024]; |
BufferFormatter bf(buffer, 1024); |
PrintTo(&bf); |
- return Isolate::Current()->current_zone()->MakeCopyOfString(buffer); |
+ return Thread::Current()->zone()->MakeCopyOfString(buffer); |
} |