Index: runtime/observatory/lib/service_common.dart |
diff --git a/runtime/observatory/lib/service_common.dart b/runtime/observatory/lib/service_common.dart |
index 3add11599f9bc002ff233fe44aa5105ce22f01ac..c47d2b37c02df05e9f9008aa89f19a17c57a85ae 100644 |
--- a/runtime/observatory/lib/service_common.dart |
+++ b/runtime/observatory/lib/service_common.dart |
@@ -186,15 +186,15 @@ abstract class CommonWebSocketVM extends VM { |
Logger.root.severe('WebSocketVM got empty message'); |
return; |
} |
- // Extract serial and response. |
+ // Extract serial and result. |
var serial; |
- var response; |
+ var result; |
serial = map['id']; |
- response = map['response']; |
+ result = map['result']; |
if (serial == null) { |
// Messages without serial numbers are asynchronous events |
// from the vm. |
- postServiceEvent(response, null); |
+ postServiceEvent(result, null); |
return; |
} |
// Complete request. |
@@ -209,7 +209,7 @@ abstract class CommonWebSocketVM extends VM { |
Logger.root.info( |
'RESPONSE [${serial}] ${request.method}'); |
} |
- request.completer.complete(response); |
+ request.completer.complete(result); |
} |
// WebSocket message event handler. |