Index: runtime/observatory/tests/service/graph_test.dart |
diff --git a/runtime/observatory/tests/service/graph_test.dart b/runtime/observatory/tests/service/graph_test.dart |
index 6160fa3b5aad6ae2e1b39ff8c8093ff7ba77499d..907dcd40c4b97d79bdb88a8b77eac4928a0a1241 100644 |
--- a/runtime/observatory/tests/service/graph_test.dart |
+++ b/runtime/observatory/tests/service/graph_test.dart |
@@ -39,7 +39,7 @@ var tests = [ |
(Isolate isolate) { |
Completer completer = new Completer(); |
- isolate.vm.events.stream.listen((ServiceEvent event) { |
+ isolate.vm.getEventStream('_Graph').listen((ServiceEvent event) { |
if (event.eventType == ServiceEvent.kGraph) { |
ReadStream reader = new ReadStream(event.data); |
ObjectGraph graph = new ObjectGraph(reader); |