Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2712)

Unified Diff: runtime/observatory/lib/src/elements/heap_snapshot.dart

Issue 2970443002: Disable expansion of VirtualTree and VirtualCollection items (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7a3875fd5c829a299c14ae62f2a2190fb2685af6..dc08c5d6216257283033761a79793312f3b162ba 100644
--- a/runtime/observatory/lib/src/elements/heap_snapshot.dart
+++ b/runtime/observatory/lib/src/elements/heap_snapshot.dart
@@ -418,7 +418,10 @@ class HeapSnapshotElement extends HtmlElement implements Renderable {
node.object.then((object) {
wrapper
..text = ''
- ..children = [anyRef(_isolate, object, _objects, queue: _r.queue)];
+ ..children = [
+ anyRef(_isolate, object, _objects,
+ queue: _r.queue, expandable: false)
+ ];
});
}
}
@@ -450,7 +453,8 @@ class HeapSnapshotElement extends HtmlElement implements Renderable {
..text = ''
..children = [
new SpanElement()..text = '${node.instanceCount} instances of ',
- anyRef(_isolate, klass, _objects, queue: _r.queue)
+ anyRef(_isolate, klass, _objects,
+ queue: _r.queue, expandable: false)
];
});
}
« no previous file with comments | « runtime/observatory/lib/src/elements/field_ref.dart ('k') | runtime/observatory/lib/src/elements/helpers/any_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698