Index: runtime/vm/dart_api_impl.h |
diff --git a/runtime/vm/dart_api_impl.h b/runtime/vm/dart_api_impl.h |
index 613778a93f305b30b15be5a15033d435d2f1b711..dd5920d0539eb09c5bdbebd2dffb7ba3b15e993d 100644 |
--- a/runtime/vm/dart_api_impl.h |
+++ b/runtime/vm/dart_api_impl.h |
@@ -269,7 +269,7 @@ class Api : AllStatic { |
static void SetWeakHandleReturnValue(NativeArguments* args, |
Dart_WeakPersistentHandle retval); |
- static RawString* CallEnvironmentCallback(Isolate* isolate, |
+ static RawString* CallEnvironmentCallback(Thread* thread, |
const String& name); |
private: |