Index: runtime/vm/native_api_impl.cc |
diff --git a/runtime/vm/native_api_impl.cc b/runtime/vm/native_api_impl.cc |
index ce055293cd8784fd09f83909bc5e8c2830a8cfe8..1d31eab1d105a4ea56702dc451609026e01b8622 100644 |
--- a/runtime/vm/native_api_impl.cc |
+++ b/runtime/vm/native_api_impl.cc |
@@ -71,8 +71,7 @@ DART_EXPORT bool Dart_CloseNativePort(Dart_Port native_port_id) { |
static void CompileAll(Isolate* isolate, Dart_Handle* result) { |
ASSERT(isolate != NULL); |
- const Error& error = |
- Error::Handle(isolate->current_zone(), Library::CompileAll()); |
+ const Error& error = Error::Handle(Library::CompileAll()); |
if (error.IsNull()) { |
*result = Api::Success(); |
} else { |