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

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

Issue 2204973003: Converted Observatory class-ref & library-ref elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed indentation 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
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 4894e9fcb8d83bf9b6b82071599fe0a75dc3ee3e..fbfb9eb4c56647f572b0ca2a604d2843db96c996 100644
--- a/runtime/observatory/lib/src/elements/heap_snapshot.dart
+++ b/runtime/observatory/lib/src/elements/heap_snapshot.dart
@@ -6,6 +6,7 @@ library heap_snapshot_element;
import 'dart:async';
import 'dart:html';
+import 'class_ref_wrapper.dart';
import 'observatory_element.dart';
import 'package:observatory/app.dart';
import 'package:observatory/service.dart';
@@ -162,7 +163,7 @@ class MergedVertexRow extends TableTreeRow {
gap.style.display = 'inline-block';
firstColumn.children.add(gap);
- ClassRefElement classRef = new Element.tag("class-ref");
+ ClassRefElementWrapper classRef = new Element.tag("class-ref");
classRef.ref = isolate.getClassByCid(vertex.cid);
classRef.style.alignSelf = 'center';
firstColumn.children.add(classRef);
@@ -296,7 +297,7 @@ class MergedEdgeRow extends TableTreeRow {
rootName.text = '<root>';
firstColumn.children.add(rootName);
} else {
- ClassRefElement classRef = new Element.tag("class-ref");
+ ClassRefElementWrapper classRef = new Element.tag("class-ref");
classRef.ref = isolate.getClassByCid(v.cid);
classRef.style.alignSelf = 'center';
firstColumn.children.add(classRef);
« no previous file with comments | « runtime/observatory/lib/src/elements/heap_profile.html ('k') | runtime/observatory/lib/src/elements/heap_snapshot.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698