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

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

Issue 2976903002: [observatory] Default sort allocation profiles by size instead of name. (Closed)
Patch Set: Created 3 years, 5 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/allocation_profile.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/code_ref.dart
diff --git a/runtime/observatory/lib/src/elements/code_ref.dart b/runtime/observatory/lib/src/elements/code_ref.dart
index 1a014f4b7440ce2b59fe19341858a02f0ab47852..bf62390cc118c379d5e2342ca52670ef4b9fb830 100644
--- a/runtime/observatory/lib/src/elements/code_ref.dart
+++ b/runtime/observatory/lib/src/elements/code_ref.dart
@@ -51,13 +51,12 @@ class CodeRefElement extends HtmlElement implements Renderable {
}
void render() {
- final name = (_code.isOptimized ? '*' : '') + _code.name;
children = [
new AnchorElement(
href: ((M.isSyntheticCode(_code.kind)) || (_isolate == null))
? null
: Uris.inspect(_isolate, object: _code))
- ..text = name
+ ..text = _code.name
];
}
}
« no previous file with comments | « runtime/observatory/lib/src/elements/allocation_profile.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698