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

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

Issue 2873013004: Omnibus Observatory UI fixes: (Closed)
Patch Set: Created 3 years, 7 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 238db567256a67c7facb9c63af5e2db3a4e28746..7a3875fd5c829a299c14ae62f2a2190fb2685af6 100644
--- a/runtime/observatory/lib/src/elements/heap_snapshot.dart
+++ b/runtime/observatory/lib/src/elements/heap_snapshot.dart
@@ -48,7 +48,7 @@ class HeapSnapshotElement extends HtmlElement implements Renderable {
M.EventRepository _events;
M.NotificationRepository _notifications;
M.HeapSnapshotRepository _snapshots;
- M.InstanceRepository _instances;
+ M.ObjectRepository _objects;
M.HeapSnapshot _snapshot;
Stream<M.HeapSnapshotLoadingProgressEvent> _progressStream;
M.HeapSnapshotLoadingProgress _progress;
@@ -66,14 +66,14 @@ class HeapSnapshotElement extends HtmlElement implements Renderable {
M.EventRepository events,
M.NotificationRepository notifications,
M.HeapSnapshotRepository snapshots,
- M.InstanceRepository instances,
+ M.ObjectRepository objects,
{RenderingQueue queue}) {
assert(vm != null);
assert(isolate != null);
assert(events != null);
assert(notifications != null);
assert(snapshots != null);
- assert(instances != null);
+ assert(objects != null);
HeapSnapshotElement e = document.createElement(tag.name);
e._r = new RenderingScheduler(e, queue: queue);
e._vm = vm;
@@ -81,7 +81,7 @@ class HeapSnapshotElement extends HtmlElement implements Renderable {
e._events = events;
e._notifications = notifications;
e._snapshots = snapshots;
- e._instances = instances;
+ e._objects = objects;
return e;
}
@@ -418,7 +418,7 @@ class HeapSnapshotElement extends HtmlElement implements Renderable {
node.object.then((object) {
wrapper
..text = ''
- ..children = [anyRef(_isolate, object, _instances, queue: _r.queue)];
+ ..children = [anyRef(_isolate, object, _objects, queue: _r.queue)];
});
}
}
@@ -450,7 +450,7 @@ class HeapSnapshotElement extends HtmlElement implements Renderable {
..text = ''
..children = [
new SpanElement()..text = '${node.instanceCount} instances of ',
- anyRef(_isolate, klass, _instances, queue: _r.queue)
+ anyRef(_isolate, klass, _objects, queue: _r.queue)
];
});
}
« no previous file with comments | « runtime/observatory/lib/src/elements/function_view.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