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

Unified Diff: runtime/observatory/lib/src/elements/cpu_profile_table.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_table.dart
diff --git a/runtime/observatory/lib/src/elements/cpu_profile_table.dart b/runtime/observatory/lib/src/elements/cpu_profile_table.dart
index 68d7f60da3f892568d708c4f1d512921727232c7..7c34d1b5c0709521de9fd6b161814e6fe4c7b738 100644
--- a/runtime/observatory/lib/src/elements/cpu_profile_table.dart
+++ b/runtime/observatory/lib/src/elements/cpu_profile_table.dart
@@ -224,8 +224,9 @@ class CpuProfileTableElement extends HtmlElement implements Renderable {
}
e.children[0].text = Utils.formatPercentNormalized(_getExclusiveT(item));
e.children[1].text = Utils.formatPercentNormalized(_getInclusiveT(item));
- e.children[2] = new FunctionRefElement(_isolate, item.function,
- queue: _r.queue)..classes = ['name'];
+ e.children[2] =
+ new FunctionRefElement(_isolate, item.function, queue: _r.queue)
+ ..classes = ['name'];
}
Element _createFunctionHeader() => new DivElement()
@@ -278,8 +279,9 @@ class CpuProfileTableElement extends HtmlElement implements Renderable {
void _updateCallee(Element e, item, int index) {
e.children[0].text = Utils.formatPercentNormalized(_getCalleeT(item));
- e.children[1] = new FunctionRefElement(_isolate, item.function,
- queue: _r.queue)..classes = ['name'];
+ e.children[1] =
+ new FunctionRefElement(_isolate, item.function, queue: _r.queue)
+ ..classes = ['name'];
}
Element _createCalleeHeader() => new DivElement()
@@ -312,8 +314,9 @@ class CpuProfileTableElement extends HtmlElement implements Renderable {
void _updateCaller(Element e, item, int index) {
e.children[0].text = Utils.formatPercentNormalized(_getCallerT(item));
- e.children[1] = new FunctionRefElement(_isolate, item.function,
- queue: _r.queue)..classes = ['name'];
+ e.children[1] =
+ new FunctionRefElement(_isolate, item.function, queue: _r.queue)
+ ..classes = ['name'];
}
Element _createCallerHeader() => new DivElement()
« no previous file with comments | « runtime/observatory/lib/src/elements/cpu_profile/virtual_tree.dart ('k') | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698