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 01c3608b660dcabb59329e72e8967e5886964723..243be472292053a783a23501a0143bf087f59edb 100644 |
--- a/runtime/observatory/lib/src/elements/heap_profile.dart |
+++ b/runtime/observatory/lib/src/elements/heap_profile.dart |
@@ -108,7 +108,7 @@ class HeapProfileElement extends ObservatoryElement { |
bool refreshAutoQueued = false; |
void _onEvent(ServiceEvent event) { |
- if (autoRefresh && event.eventType == 'GC') { |
+ if (autoRefresh && event.kind == 'GC') { |
if (!refreshAutoPending) { |
refreshAuto(); |
} else { |