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

Unified Diff: runtime/observatory/lib/src/elements/metric/details.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/metric/details.dart
diff --git a/runtime/observatory/lib/src/elements/metric/details.dart b/runtime/observatory/lib/src/elements/metric/details.dart
index e45e4d1d355aa35e00b88e25f98ac3170f7cb652..34b7a0fe10b080baf360c687ce313823371ec098 100644
--- a/runtime/observatory/lib/src/elements/metric/details.dart
+++ b/runtime/observatory/lib/src/elements/metric/details.dart
@@ -108,8 +108,8 @@ class MetricDetailsElement extends HtmlElement implements Renderable {
..value = _rateToString(current)
..children = M.MetricSamplingRate.values.map((rate) {
return new OptionElement(
- value: _rateToString(current),
- selected: current == rate)..text = _rateToString(rate);
+ value: _rateToString(current), selected: current == rate)
+ ..text = _rateToString(rate);
}).toList(growable: false)
..onChange.listen((_) {
_metrics.setSamplingRate(
@@ -127,8 +127,8 @@ class MetricDetailsElement extends HtmlElement implements Renderable {
..value = _sizeToString(current)
..children = M.MetricBufferSize.values.map((rate) {
return new OptionElement(
- value: _sizeToString(current),
- selected: current == rate)..text = _sizeToString(rate);
+ value: _sizeToString(current), selected: current == rate)
+ ..text = _sizeToString(rate);
}).toList(growable: false)
..onChange.listen((_) {
_metrics.setBufferSize(
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.dart ('k') | runtime/observatory/lib/src/elements/metrics.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698