Index: runtime/vm/profiler_service.cc |
diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc |
index 99a8a6d0cf6ca2170b21b427fb3a5bbd5e9aacea..abb5bb0d187788d4b1bfdcb7116b3defd3c157e3 100644 |
--- a/runtime/vm/profiler_service.cc |
+++ b/runtime/vm/profiler_service.cc |
@@ -2213,7 +2213,7 @@ void ProfilerService::PrintJSONImpl(Thread* thread, |
} |
{ |
- StackZone zone(isolate); |
+ StackZone zone(thread); |
HANDLESCOPE(thread); |
Profile profile(isolate); |
profile.Build(filter, tag_order, extra_tags); |