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

Unified Diff: runtime/observatory/lib/src/elements/class_instances.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/class_instances.dart
diff --git a/runtime/observatory/lib/src/elements/class_instances.dart b/runtime/observatory/lib/src/elements/class_instances.dart
index c5cba51e24168c8606fd8781e5d5103b34c2eaa1..84ba605621a820f1bdc7a57d9321e20c4d72ace1 100644
--- a/runtime/observatory/lib/src/elements/class_instances.dart
+++ b/runtime/observatory/lib/src/elements/class_instances.dart
@@ -34,7 +34,7 @@ class ClassInstancesElement extends HtmlElement implements Renderable {
M.ReachableSizeRepository _reachableSizes;
M.StronglyReachableInstancesRepository _stronglyReachableInstances;
M.TopRetainingInstancesRepository _topRetainingInstances;
- M.InstanceRepository _instances;
+ M.ObjectRepository _objects;
M.Guarded<M.Instance> _retainedSize = null;
bool _loadingRetainedBytes = false;
M.Guarded<M.Instance> _reachableSize = null;
@@ -50,7 +50,7 @@ class ClassInstancesElement extends HtmlElement implements Renderable {
M.ReachableSizeRepository reachableSizes,
M.StronglyReachableInstancesRepository stronglyReachableInstances,
M.TopRetainingInstancesRepository topRetainingInstances,
- M.InstanceRepository instances,
+ M.ObjectRepository objects,
{RenderingQueue queue}) {
assert(isolate != null);
assert(cls != null);
@@ -58,7 +58,7 @@ class ClassInstancesElement extends HtmlElement implements Renderable {
assert(reachableSizes != null);
assert(stronglyReachableInstances != null);
assert(topRetainingInstances != null);
- assert(instances != null);
+ assert(objects != null);
ClassInstancesElement e = document.createElement(tag.name);
e._r = new RenderingScheduler(e, queue: queue);
e._isolate = isolate;
@@ -67,7 +67,7 @@ class ClassInstancesElement extends HtmlElement implements Renderable {
e._reachableSizes = reachableSizes;
e._stronglyReachableInstances = stronglyReachableInstances;
e._topRetainingInstances = topRetainingInstances;
- e._instances = instances;
+ e._objects = objects;
return e;
}
@@ -92,11 +92,11 @@ class ClassInstancesElement extends HtmlElement implements Renderable {
void render() {
_strong = _strong ??
new StronglyReachableInstancesElement(
- _isolate, _cls, _stronglyReachableInstances, _instances,
+ _isolate, _cls, _stronglyReachableInstances, _objects,
queue: _r.queue);
_topRetainig = _topRetainig ??
new TopRetainingInstancesElement(
- _isolate, _cls, _topRetainingInstances, _instances,
+ _isolate, _cls, _topRetainingInstances, _objects,
queue: _r.queue);
final instanceCount =
_cls.newSpace.current.instances + _cls.oldSpace.current.instances;
« no previous file with comments | « runtime/observatory/lib/src/debugger/debugger.dart ('k') | runtime/observatory/lib/src/elements/class_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698