Index: runtime/vm/native_api_impl.cc |
diff --git a/runtime/vm/native_api_impl.cc b/runtime/vm/native_api_impl.cc |
index a3cd5c1a702822a7335e8989fb22987a10243da5..c912d742e518bfdf9a3f12c853702c16e04d6658 100644 |
--- a/runtime/vm/native_api_impl.cc |
+++ b/runtime/vm/native_api_impl.cc |
@@ -52,7 +52,7 @@ DART_EXPORT Dart_Port Dart_NewNativePort(const char* name, |
NativeMessageHandler* nmh = new NativeMessageHandler(name, handler); |
Dart_Port port_id = PortMap::CreatePort(nmh); |
- nmh->Run(Dart::thread_pool(), NULL, NULL, 0); |
+ nmh->Run(NULL, NULL, 0); |
return port_id; |
} |