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

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

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 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/observatory/lib/src/elements/isolate_view.dart
diff --git a/runtime/observatory/lib/src/elements/isolate_view.dart b/runtime/observatory/lib/src/elements/isolate_view.dart
index 8c0f186831c109159d5ed67a7d28cf9be26a6f16..05fa542ce1787ea8c9cb27efded0a83f0f4d8140 100644
--- a/runtime/observatory/lib/src/elements/isolate_view.dart
+++ b/runtime/observatory/lib/src/elements/isolate_view.dart
@@ -340,8 +340,7 @@ class IsolateViewElement extends HtmlElement implements Renderable {
..classes = ['memberValue']
..children = [
new CurlyBlockElement(queue: _r.queue)
- ..content = threads
- .map(_populateThreadInfo)
+ ..content = threads.map(_populateThreadInfo)
]
]
],
@@ -368,8 +367,7 @@ class IsolateViewElement extends HtmlElement implements Renderable {
return new DivElement()
..classes = ['indent']
..children = [
- new SpanElement()
- ..text = '${t.id} ',
+ new SpanElement()..text = '${t.id} ',
new CurlyBlockElement(queue: _r.queue)
..content = [
new DivElement()
@@ -379,10 +377,9 @@ class IsolateViewElement extends HtmlElement implements Renderable {
..classes = ['indent']
..title = '${t.memoryHighWatermark}B'
..text =
- 'native memory usage high watermark ${Utils.formatSize(t.memoryHighWatermark)}',
+ 'native memory usage high watermark ${Utils.formatSize(t.memoryHighWatermark)}',
new DivElement()
- ..children = t.zones
- .map((z) => new DivElement()
+ ..children = t.zones.map((z) => new DivElement()
..classes = ['indent']
..children = [
new DivElement()
@@ -391,8 +388,7 @@ class IsolateViewElement extends HtmlElement implements Renderable {
..children = [
// TODO(bkonyi): zones will always be empty. See
// issue #28885.
- new SpanElement()
- ..text = 'zone ${index++} ',
+ new SpanElement()..text = 'zone ${index++} ',
new CurlyBlockElement(queue: _r.queue)
..content = [
new DivElement()
@@ -407,27 +403,25 @@ class IsolateViewElement extends HtmlElement implements Renderable {
new SpanElement()
..classes = ['memberValue']
..title = '${z.used}B'
- ..text =
- Utils.formatSize(z.used)
+ ..text = Utils.formatSize(z.used)
],
new DivElement()
..classes = ['memberItem']
..children = [
- new SpanElement()
- ..classes = ['memberName']
- ..text = 'capacity',
- new SpanElement()
- ..classes = ['memberValue']
- ..title = '${z.capacity}B'
- ..text =
- Utils.formatSize(z.capacity)
+ new SpanElement()
+ ..classes = ['memberName']
+ ..text = 'capacity',
+ new SpanElement()
+ ..classes = ['memberValue']
+ ..title = '${z.capacity}B'
+ ..text = Utils.formatSize(z.capacity)
]
]
]
]
]
- ]
- )]
+ ])
+ ]
];
}

Powered by Google App Engine
This is Rietveld 408576698