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

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

Issue 2277093002: Supporting both FieldRef and InstanceRef in RetainingPathItem.parentField (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | runtime/observatory/lib/src/models/objects/retaining_path.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/retaining_path.dart
diff --git a/runtime/observatory/lib/src/elements/retaining_path.dart b/runtime/observatory/lib/src/elements/retaining_path.dart
index 40f77e8cc5878ba027f7bfa8f43145dc2c81f789..b0f2ea026179d420c6ee20be3074304ca9596051 100644
--- a/runtime/observatory/lib/src/elements/retaining_path.dart
+++ b/runtime/observatory/lib/src/elements/retaining_path.dart
@@ -99,11 +99,10 @@ class RetainingPathElement extends HtmlElement implements Renderable {
if (item.parentField != null) {
content.add(
- new DivElement()
+ new SpanElement()
..children = [
new SpanElement()..text = 'from ',
- new InstanceRefElement(_isolate, item.parentField, _instances,
- queue: _r.queue),
+ anyRef(_isolate, item.parentField, _instances, queue: _r.queue),
new SpanElement()..text = ' of ',
]);
} else if (item.parentListIndex != null) {
« no previous file with comments | « no previous file | runtime/observatory/lib/src/models/objects/retaining_path.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698