Index: runtime/observatory/lib/src/elements/heap_snapshot.dart |
diff --git a/runtime/observatory/lib/src/elements/heap_snapshot.dart b/runtime/observatory/lib/src/elements/heap_snapshot.dart |
index 4894e9fcb8d83bf9b6b82071599fe0a75dc3ee3e..fbfb9eb4c56647f572b0ca2a604d2843db96c996 100644 |
--- a/runtime/observatory/lib/src/elements/heap_snapshot.dart |
+++ b/runtime/observatory/lib/src/elements/heap_snapshot.dart |
@@ -6,6 +6,7 @@ library heap_snapshot_element; |
import 'dart:async'; |
import 'dart:html'; |
+import 'class_ref_wrapper.dart'; |
import 'observatory_element.dart'; |
import 'package:observatory/app.dart'; |
import 'package:observatory/service.dart'; |
@@ -162,7 +163,7 @@ class MergedVertexRow extends TableTreeRow { |
gap.style.display = 'inline-block'; |
firstColumn.children.add(gap); |
- ClassRefElement classRef = new Element.tag("class-ref"); |
+ ClassRefElementWrapper classRef = new Element.tag("class-ref"); |
classRef.ref = isolate.getClassByCid(vertex.cid); |
classRef.style.alignSelf = 'center'; |
firstColumn.children.add(classRef); |
@@ -296,7 +297,7 @@ class MergedEdgeRow extends TableTreeRow { |
rootName.text = '<root>'; |
firstColumn.children.add(rootName); |
} else { |
- ClassRefElement classRef = new Element.tag("class-ref"); |
+ ClassRefElementWrapper classRef = new Element.tag("class-ref"); |
classRef.ref = isolate.getClassByCid(v.cid); |
classRef.style.alignSelf = 'center'; |
firstColumn.children.add(classRef); |