Index: runtime/vm/debugger.cc |
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc |
index 0364ac8281541cec2f5a0e26e9d6976a441c0082..6f761b6d4db0dffc6a6d5ce16823bc161098896a 100644 |
--- a/runtime/vm/debugger.cc |
+++ b/runtime/vm/debugger.cc |
@@ -404,7 +404,7 @@ const char* Debugger::QualifiedFunctionName(const Function& func) { |
func_class.IsTopLevel() ? "" : ".", |
func_name.ToCString()); |
len++; // String terminator. |
- char* chars = Isolate::Current()->current_zone()->Alloc<char>(len); |
+ char* chars = Thread::Current()->zone()->Alloc<char>(len); |
OS::SNPrint(chars, len, kFormat, |
func_class.IsTopLevel() ? "" : class_name.ToCString(), |
func_class.IsTopLevel() ? "" : ".", |
@@ -1020,7 +1020,7 @@ const char* ActivationFrame::ToCString() { |
const String& url = String::Handle(SourceUrl()); |
intptr_t line = LineNumber(); |
const char* func_name = Debugger::QualifiedFunctionName(function()); |
- return Isolate::Current()->current_zone()-> |
+ return Thread::Current()->zone()-> |
PrintToString("[ Frame pc(0x%" Px ") fp(0x%" Px ") sp(0x%" Px ")\n" |
"\tfunction = %s\n" |
"\turl = %s\n" |