Index: runtime/vm/native_entry.h |
diff --git a/runtime/vm/native_entry.h b/runtime/vm/native_entry.h |
index 45dd5c9fdc1bce83140d08273b11aad74fc4b38f..7526965704678ad2f69bc9d8cb770c22d27bf96c 100644 |
--- a/runtime/vm/native_entry.h |
+++ b/runtime/vm/native_entry.h |
@@ -54,7 +54,7 @@ typedef void (*NativeFunction)(NativeArguments* arguments); |
Thread* thread = arguments->thread(); \ |
ASSERT(thread == Thread::Current()); \ |
Isolate* isolate = thread->isolate(); \ |
- StackZone zone(isolate); \ |
+ StackZone zone(thread); \ |
SET_NATIVE_RETVAL(arguments, \ |
DN_Helper##name(isolate, \ |
thread, \ |