Index: runtime/bin/io_service.cc |
diff --git a/runtime/bin/io_service.cc b/runtime/bin/io_service.cc |
index 2a685f1d6ad233abc7a97a3f49e442a4908a5481..121c978c5eac9d0c874b5537fb3b12483ece33dd 100644 |
--- a/runtime/bin/io_service.cc |
+++ b/runtime/bin/io_service.cc |
@@ -27,7 +27,9 @@ namespace bin { |
response = type::method##Request(data); \ |
break; |
-void IOServiceCallback(Dart_Port dest_port_id, Dart_CObject* message) { |
+void IOServiceCallback(Dart_Port dest_port_id, |
+ Dart_CObject* message, |
+ void* peer) { |
Dart_Port reply_port_id = ILLEGAL_PORT; |
CObject* response = CObject::IllegalArgumentError(); |
CObjectArray request(message); |
@@ -55,7 +57,7 @@ void IOServiceCallback(Dart_Port dest_port_id, Dart_CObject* message) { |
Dart_Port IOService::GetServicePort() { |
- return Dart_NewNativePort("IOService", IOServiceCallback, true); |
+ return Dart_NewNativePort("IOService", IOServiceCallback, true, NULL); |
} |