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

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

Issue 2342943002: Observatory: Fix instance view of lists. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_ref.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/instance_view.dart
diff --git a/runtime/observatory/lib/src/elements/instance_view.dart b/runtime/observatory/lib/src/elements/instance_view.dart
index 6f409298a4b11dc52a7d2cc1250408f778644bd3..668da170b25df07796e39eeceb0b6284671c3891 100644
--- a/runtime/observatory/lib/src/elements/instance_view.dart
+++ b/runtime/observatory/lib/src/elements/instance_view.dart
@@ -418,16 +418,16 @@ class InstanceViewElement extends HtmlElement implements Renderable {
new CurlyBlockElement(
expanded: elements.length <= 100,
queue: _r.queue)
- ..children = [
+ ..content = [
new DivElement()..classes = ['memberList']
- ..children = elements.map((e) =>
+ ..children = elements.map((element) =>
new DivElement()..classes = ['memberItem']
..children = [
new DivElement()..classes = ['memberName']
..text = '[ ${i++} ]',
new DivElement()..classes = ['memberValue']
..children = [
- anyRef(_isolate, e, _instances,
+ anyRef(_isolate, element, _instances,
queue: _r.queue)
]
]).toList()
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_ref.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698