Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: runtime/observatory/lib/service_common.dart

Issue 1152283005: Revert "Add the streamListen and streamCancel rpcs to the vm service." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/observatory/lib/src/app/application.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/service_common.dart
diff --git a/runtime/observatory/lib/service_common.dart b/runtime/observatory/lib/service_common.dart
index 58d69cfc82bd0074445fbe24ca7925b0c9519ec1..50774c42c1bd2053056001d0872f59c13bf3c118 100644
--- a/runtime/observatory/lib/service_common.dart
+++ b/runtime/observatory/lib/service_common.dart
@@ -210,8 +210,7 @@ abstract class CommonWebSocketVM extends VM {
return;
}
var event = map['event'];
- var streamId = map['streamId'];
- postServiceEvent(streamId, event, data);
+ postServiceEvent(event, data);
});
}
@@ -222,8 +221,7 @@ abstract class CommonWebSocketVM extends VM {
}
var event = map['event'];
if (event != null) {
- var streamId = map['streamId'];
- postServiceEvent(streamId, event, null);
+ postServiceEvent(event, null);
return;
}
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/observatory/lib/src/app/application.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698