Index: runtime/vm/native_api_impl.cc |
diff --git a/runtime/vm/native_api_impl.cc b/runtime/vm/native_api_impl.cc |
index 9d68624d9c422fdc1cfc03cb8e0a0b2a95376902..c707c9e9cf776f4b752becc58dedc150cdd3a504 100644 |
--- a/runtime/vm/native_api_impl.cc |
+++ b/runtime/vm/native_api_impl.cc |
@@ -94,14 +94,14 @@ static void CompileAll(Thread* thread, Dart_Handle* result) { |
if (error.IsNull()) { |
*result = Api::Success(); |
} else { |
- *result = Api::NewHandle(thread->isolate(), error.raw()); |
+ *result = Api::NewHandle(thread, error.raw()); |
} |
} |
DART_EXPORT Dart_Handle Dart_CompileAll() { |
DARTSCOPE(Thread::Current()); |
- Dart_Handle result = Api::CheckAndFinalizePendingClasses(I); |
+ Dart_Handle result = Api::CheckAndFinalizePendingClasses(T); |
if (::Dart_IsError(result)) { |
return result; |
} |