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

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

Issue 2345023003: Use dartfmt on Observatory code (Closed)
Patch Set: merge Created 4 years, 3 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/pc_descriptors_ref.dart
diff --git a/runtime/observatory/lib/src/elements/pc_descriptors_ref.dart b/runtime/observatory/lib/src/elements/pc_descriptors_ref.dart
index 8f724fa9729f8cc576cbfe48cda2553154bc72d1..838f1fa2fc1d455cfbcdf785ffc187a5bc9351ad 100644
--- a/runtime/observatory/lib/src/elements/pc_descriptors_ref.dart
+++ b/runtime/observatory/lib/src/elements/pc_descriptors_ref.dart
@@ -4,8 +4,7 @@
import 'dart:html';
import 'dart:async';
-import 'package:observatory/models.dart' as M
- show IsolateRef, PcDescriptorsRef;
+import 'package:observatory/models.dart' as M show IsolateRef, PcDescriptorsRef;
import 'package:observatory/src/elements/helpers/rendering_scheduler.dart';
import 'package:observatory/src/elements/helpers/tag.dart';
import 'package:observatory/src/elements/helpers/uris.dart';
@@ -16,7 +15,7 @@ class PcDescriptorsRefElement extends HtmlElement implements Renderable {
RenderingScheduler<PcDescriptorsRefElement> _r;
Stream<RenderedEvent<PcDescriptorsRefElement>> get onRendered =>
- _r.onRendered;
+ _r.onRendered;
M.IsolateRef _isolate;
M.PcDescriptorsRef _descriptors;
@@ -24,8 +23,9 @@ class PcDescriptorsRefElement extends HtmlElement implements Renderable {
M.IsolateRef get isolate => _isolate;
M.PcDescriptorsRef get descriptors => _descriptors;
- factory PcDescriptorsRefElement(M.IsolateRef isolate,
- M.PcDescriptorsRef descriptors, {RenderingQueue queue}) {
+ factory PcDescriptorsRefElement(
+ M.IsolateRef isolate, M.PcDescriptorsRef descriptors,
+ {RenderingQueue queue}) {
assert(isolate != null);
assert(descriptors != null);
PcDescriptorsRefElement e = document.createElement(tag.name);
@@ -52,8 +52,8 @@ class PcDescriptorsRefElement extends HtmlElement implements Renderable {
void render() {
final text = (_descriptors.name == null || _descriptors.name == '')
- ? 'PcDescriptors'
- : _descriptors.name;
+ ? 'PcDescriptors'
+ : _descriptors.name;
children = [
new AnchorElement(href: Uris.inspect(_isolate, object: _descriptors))
..text = text

Powered by Google App Engine
This is Rietveld 408576698