Index: runtime/vm/report.cc |
diff --git a/runtime/vm/report.cc b/runtime/vm/report.cc |
index e65391d5a528053b0e28f2f9c40a203ff3a58711..d09d2a9af954bad1cb297b8efd32a81c44497257 100644 |
--- a/runtime/vm/report.cc |
+++ b/runtime/vm/report.cc |
@@ -152,7 +152,7 @@ void Report::MessageV(Kind kind, const Script& script, intptr_t token_pos, |
if (kind == kJSWarning) { |
TraceJSWarning(script, token_pos, msg); |
// Do not print stacktrace if we have not executed Dart code yet. |
- if (Isolate::Current()->top_exit_frame_info() != 0) { |
+ if (Thread::Current()->top_exit_frame_info() != 0) { |
const Stacktrace& stacktrace = |
Stacktrace::Handle(Exceptions::CurrentStacktrace()); |
intptr_t idx = 0; |