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

Unified Diff: runtime/observatory/lib/src/elements/cpu_profile/virtual_tree.dart

Issue 2829463003: Format all remaining unformatted runtime files other than multitests. (Closed)
Patch Set: Created 3 years, 8 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/cpu_profile/virtual_tree.dart
diff --git a/runtime/observatory/lib/src/elements/cpu_profile/virtual_tree.dart b/runtime/observatory/lib/src/elements/cpu_profile/virtual_tree.dart
index 00c55b9be3d31ff8aa38745ef439c5511b07d5c8..df855d4e31243cabc32535fe8b2496e08c147785 100644
--- a/runtime/observatory/lib/src/elements/cpu_profile/virtual_tree.dart
+++ b/runtime/observatory/lib/src/elements/cpu_profile/virtual_tree.dart
@@ -196,7 +196,8 @@ class CpuProfileVirtualTreeElement extends HtmlElement implements Renderable {
}
element.children[4].text = Utils.formatPercentNormalized(item.percentage);
element.children[5] = new FunctionRefElement(
- _isolate, item.profileFunction.function, queue: _r.queue)
+ _isolate, item.profileFunction.function,
+ queue: _r.queue)
..classes = ['name'];
}
@@ -219,7 +220,8 @@ class CpuProfileVirtualTreeElement extends HtmlElement implements Renderable {
}
element.children[4].text = Utils.formatPercentNormalized(item.percentage);
element.children[5] = new FunctionRefElement(
- null, item.profileFunction.function, queue: _r.queue)
+ null, item.profileFunction.function,
+ queue: _r.queue)
..classes = ['name'];
}
@@ -237,8 +239,9 @@ class CpuProfileVirtualTreeElement extends HtmlElement implements Renderable {
element.children[3].text = '';
}
element.children[4].text = Utils.formatPercentNormalized(item.percentage);
- element.children[5] = new CodeRefElement(_isolate, item.profileCode.code,
- queue: _r.queue)..classes = ['name'];
+ element.children[5] =
+ new CodeRefElement(_isolate, item.profileCode.code, queue: _r.queue)
+ ..classes = ['name'];
}
void _updateMemoryCodeRow(
@@ -259,8 +262,9 @@ class CpuProfileVirtualTreeElement extends HtmlElement implements Renderable {
element.children[3].text = '';
}
element.children[4].text = Utils.formatPercentNormalized(item.percentage);
- element.children[5] = new CodeRefElement(null, item.profileCode.code,
- queue: _r.queue)..classes = ['name'];
+ element.children[5] =
+ new CodeRefElement(null, item.profileCode.code, queue: _r.queue)
+ ..classes = ['name'];
}
static _updateLines(List<Element> lines, int n) {
« no previous file with comments | « runtime/observatory/lib/src/elements/code_ref.dart ('k') | runtime/observatory/lib/src/elements/cpu_profile_table.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698