Index: runtime/vm/stack_frame.cc |
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc |
index a8ceedf53a7d678b0a839b688e3a5719b05925a7..bf5a05d4bdf51e2896b2415bbeaab9117691771e 100644 |
--- a/runtime/vm/stack_frame.cc |
+++ b/runtime/vm/stack_frame.cc |
@@ -30,7 +30,7 @@ bool StackFrame::IsStubFrame() const { |
const char* StackFrame::ToCString() const { |
ASSERT(isolate_ == Isolate::Current()); |
- Zone* zone = Isolate::Current()->current_zone(); |
+ Zone* zone = Thread::Current()->zone(); |
if (IsDartFrame()) { |
const Code& code = Code::Handle(LookupDartCode()); |
ASSERT(!code.IsNull()); |