Index: runtime/observatory/lib/src/elements/heap_profile.dart |
diff --git a/runtime/observatory/lib/src/elements/heap_profile.dart b/runtime/observatory/lib/src/elements/heap_profile.dart |
index efdbcdd59f9e4bce821fa8d316902c0092ae6202..01c3608b660dcabb59329e72e8967e5886964723 100644 |
--- a/runtime/observatory/lib/src/elements/heap_profile.dart |
+++ b/runtime/observatory/lib/src/elements/heap_profile.dart |
@@ -93,7 +93,7 @@ class HeapProfileElement extends ObservatoryElement { |
_oldPieChart = new Chart('PieChart', |
shadowRoot.querySelector('#oldPieChart')); |
_classTableBody = shadowRoot.querySelector('#classTableBody'); |
- _subscription = app.vm.gcEvents.where( |
+ _subscription = app.vm.events.stream.where( |
(event) => event.isolate == isolate).listen(_onEvent); |
} |