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

Unified Diff: runtime/observatory/lib/src/elements/inbound_references.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/inbound_references.dart
diff --git a/runtime/observatory/lib/src/elements/inbound_references.dart b/runtime/observatory/lib/src/elements/inbound_references.dart
index f8d69f3010e51fddaa29f53348fb1c55abfa5e00..8e68a00a27728b2761aa0e9caa48a3dec73d373f 100644
--- a/runtime/observatory/lib/src/elements/inbound_references.dart
+++ b/runtime/observatory/lib/src/elements/inbound_references.dart
@@ -13,15 +13,12 @@ import 'package:observatory/src/elements/helpers/tag.dart';
class InboundReferencesElement extends HtmlElement implements Renderable {
static const tag = const Tag<InboundReferencesElement>('inbound-references',
- dependencies: const [
- CurlyBlockElement.tag,
- InstanceRefElement.tag
- ]);
+ dependencies: const [CurlyBlockElement.tag, InstanceRefElement.tag]);
RenderingScheduler<InboundReferencesElement> _r;
Stream<RenderedEvent<InboundReferencesElement>> get onRendered =>
- _r.onRendered;
+ _r.onRendered;
M.IsolateRef _isolate;
M.ObjectRef _object;
@@ -97,30 +94,27 @@ class InboundReferencesElement extends HtmlElement implements Renderable {
if (reference.parentField != null) {
content.addAll([
new SpanElement()..text = 'from ',
- anyRef(_isolate, reference.parentField, _instances,
- queue: _r.queue),
+ anyRef(_isolate, reference.parentField, _instances, queue: _r.queue),
new SpanElement()..text = ' of '
]);
} else if (reference.parentListIndex != null) {
- content.add(
- new SpanElement()
- ..text = 'from [ ${reference.parentListIndex} ] of '
- );
+ content.add(new SpanElement()
+ ..text = 'from [ ${reference.parentListIndex} ] of ');
} else if (reference.parentWordOffset != null) {
- content.add(
- new SpanElement()
- ..text = 'from word [ ${reference.parentWordOffset} ] of '
- );
+ content.add(new SpanElement()
+ ..text = 'from word [ ${reference.parentWordOffset} ] of ');
}
content.addAll([
anyRef(_isolate, reference.source, _instances, queue: _r.queue),
new SpanElement()..text = ' referenced by ',
- new InboundReferencesElement(_isolate, reference.source, _references,
- _instances, queue: _r.queue )
+ new InboundReferencesElement(
+ _isolate, reference.source, _references, _instances,
+ queue: _r.queue)
]);
- return new DivElement()..classes = ['indent']
- ..children = content;
+ return new DivElement()
+ ..classes = ['indent']
+ ..children = content;
}
}
« no previous file with comments | « runtime/observatory/lib/src/elements/icdata_view.dart ('k') | runtime/observatory/lib/src/elements/instance_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698