Index: runtime/vm/native_entry.cc |
diff --git a/runtime/vm/native_entry.cc b/runtime/vm/native_entry.cc |
index dcceccea9a8716e1632ccbe1ed6ee545b323a4f0..39d9dcc3a3d84687dbb857b11ece064691bc2ea6 100644 |
--- a/runtime/vm/native_entry.cc |
+++ b/runtime/vm/native_entry.cc |
@@ -88,7 +88,7 @@ void NativeEntry::NativeCallWrapper(Dart_NativeArguments args, |
NativeArguments* arguments = reinterpret_cast<NativeArguments*>(args); |
/* Tell MemorySanitizer 'arguments' is initialized by generated code. */ |
MSAN_UNPOISON(arguments, sizeof(*arguments)); |
- Isolate* isolate = arguments->isolate(); |
+ Isolate* isolate = arguments->thread()->isolate(); |
ApiState* state = isolate->api_state(); |
ASSERT(state != NULL); |