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

Unified Diff: runtime/observatory/lib/src/elements/allocation_profile.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
« no previous file with comments | « runtime/bin/vmservice/server.dart ('k') | runtime/observatory/lib/src/elements/class_ref.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/allocation_profile.dart
diff --git a/runtime/observatory/lib/src/elements/allocation_profile.dart b/runtime/observatory/lib/src/elements/allocation_profile.dart
index d782f55541f7ec4b329507733a38d8eaf60263c1..453a9001bd3617c5af627a58b00273cef9e90607 100644
--- a/runtime/observatory/lib/src/elements/allocation_profile.dart
+++ b/runtime/observatory/lib/src/elements/allocation_profile.dart
@@ -123,9 +123,8 @@ class AllocationProfileElement extends HtmlElement implements Renderable {
new NavIsolateMenuElement(_isolate, _events, queue: _r.queue),
navMenu('allocation profile'),
new NavRefreshElement(
- label: 'Download',
- disabled: _profile == null,
- queue: _r.queue)..onRefresh.listen((_) => _downloadCSV()),
+ label: 'Download', disabled: _profile == null, queue: _r.queue)
+ ..onRefresh.listen((_) => _downloadCSV()),
new NavRefreshElement(label: 'Reset Accumulator', queue: _r.queue)
..onRefresh.listen((_) => _refresh(reset: true)),
new NavRefreshElement(label: 'GC', queue: _r.queue)
@@ -564,7 +563,8 @@ class AllocationProfileElement extends HtmlElement implements Renderable {
]);
new LayoutArea(host, data, config,
- state: new ChartState(), autoUpdate: true)..draw();
+ state: new ChartState(), autoUpdate: true)
+ ..draw();
}
Future _refresh({bool gc: false, bool reset: false}) async {
« no previous file with comments | « runtime/bin/vmservice/server.dart ('k') | runtime/observatory/lib/src/elements/class_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698