Index: runtime/bin/vmservice/server.dart |
diff --git a/runtime/bin/vmservice/server.dart b/runtime/bin/vmservice/server.dart |
index 9818e588693fa789446c07ab0f7ccec9779bcfa9..bd84a2f84ef47d7b4c2e99c564d68e3aa6321034 100644 |
--- a/runtime/bin/vmservice/server.dart |
+++ b/runtime/bin/vmservice/server.dart |
@@ -29,7 +29,7 @@ class WebSocketClient extends Client { |
return; |
} |
var serial = map['id']; |
- onMessage(serial, new Message.fromJsonRpc(map)); |
+ onMessage(serial, new Message.fromJsonRpc(this, map)); |
} else { |
socket.close(BINARY_MESSAGE_ERROR_CODE, 'Message must be a string.'); |
} |
@@ -141,7 +141,7 @@ class Server { |
request.response.close(); |
return; |
} |
- var message = new Message.fromUri(request.uri); |
+ var message = new Message.fromUri(this, request.uri); |
var client = new HttpRequestClient(request, _service); |
client.onMessage(null, message); |
} |