Index: runtime/bin/io_service_no_ssl.cc |
diff --git a/runtime/bin/io_service_no_ssl.cc b/runtime/bin/io_service_no_ssl.cc |
index af9c01fd1f3b5cc7502cf2934ddfb2246d5077ca..189eb0369fe4693a74cecc49e45995efef2d5946 100644 |
--- a/runtime/bin/io_service_no_ssl.cc |
+++ b/runtime/bin/io_service_no_ssl.cc |
@@ -26,9 +26,7 @@ namespace bin { |
response = type::method##Request(data); \ |
break; |
-void IOServiceCallback(Dart_Port dest_port_id, |
- Dart_CObject* message, |
- void* peer) { |
+void IOServiceCallback(Dart_Port dest_port_id, Dart_CObject* message) { |
Dart_Port reply_port_id = ILLEGAL_PORT; |
CObject* response = CObject::IllegalArgumentError(); |
CObjectArray request(message); |
@@ -56,7 +54,7 @@ void IOServiceCallback(Dart_Port dest_port_id, |
Dart_Port IOService::GetServicePort() { |
- return Dart_NewNativePort("IOService", IOServiceCallback, true, NULL); |
+ return Dart_NewNativePort("IOService", IOServiceCallback, true); |
} |