Index: runtime/observatory/lib/src/elements/metrics.dart |
diff --git a/runtime/observatory/lib/src/elements/metrics.dart b/runtime/observatory/lib/src/elements/metrics.dart |
index d1e4c6671724dc1f5d596a40387c555a1c866d72..00b154457a2d6c9e151a207f36d779b15f88a795 100644 |
--- a/runtime/observatory/lib/src/elements/metrics.dart |
+++ b/runtime/observatory/lib/src/elements/metrics.dart |
@@ -4,7 +4,6 @@ |
library metrics; |
-import 'dart:async'; |
import 'dart:html'; |
import 'observatory_element.dart'; |
import 'package:observatory/app.dart'; |
@@ -28,7 +27,7 @@ class MetricsPageElement extends ObservatoryElement { |
(page.selectedMetricId != null)) { |
selectedMetric = isolate.dartMetrics[page.selectedMetricId]; |
if (selectedMetric == null) { |
- selectedMetric = isolate.vmMetrics[page.selectedMetricId]; |
+ selectedMetric = isolate.nativeMetrics[page.selectedMetricId]; |
} |
} |
if ((selectedMetric == null) && (isolate != null)) { |
@@ -61,7 +60,7 @@ class MetricsPageElement extends ObservatoryElement { |
selectedMetric = isolate.dartMetrics[id]; |
if (selectedMetric == null) { |
// Check VM metrics. |
- selectedMetric = isolate.vmMetrics[id]; |
+ selectedMetric = isolate.nativeMetrics[id]; |
} |
if (selectedMetric != null) { |
page.selectedMetricId = id; |