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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/isolate_profile.dart

Issue 204983008: Rework how ServiceObjects are created and cached in Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: edits Created 6 years, 9 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/bin/vmservice/client/lib/src/elements/isolate_profile.dart
diff --git a/runtime/bin/vmservice/client/lib/src/elements/isolate_profile.dart b/runtime/bin/vmservice/client/lib/src/elements/isolate_profile.dart
index 1e244df0b4527370901f4e04a254fd44b427f229..14391e1d0f0bc75cc0570184b5e67439869c6a88 100644
--- a/runtime/bin/vmservice/client/lib/src/elements/isolate_profile.dart
+++ b/runtime/bin/vmservice/client/lib/src/elements/isolate_profile.dart
@@ -77,7 +77,7 @@ class ProfileCallerTreeRow extends TableTreeRow {
var totalSamples = profile['samples'];
// When the row is created, fill out the columns.
if (parent == null) {
- var root = profile.isolate.codes.tagRoot();
+ var root = profile.isolate.tagRoot();
var totalAttributedCalls = root.callersCount(code);
var totalParentCalls = root.sumCallersCount();
columns.add(formatPercent(totalAttributedCalls, totalParentCalls));
@@ -188,7 +188,7 @@ class IsolateProfileElement extends ObservatoryElement {
void _buildCallersTree() {
assert(profile != null);
- var root = profile.isolate.codes.tagRoot();
+ var root = profile.isolate.tagRoot();
if (root == null) {
Logger.root.warning('No profile root tag.');
}

Powered by Google App Engine
This is Rietveld 408576698