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

Unified Diff: runtime/observatory/lib/src/elements/code_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/code_ref.dart
diff --git a/runtime/observatory/lib/src/elements/code_ref.dart b/runtime/observatory/lib/src/elements/code_ref.dart
index c25f6c38653c090b807363ea0279a8d4080d0092..14b783bd92c47eb3d555f78b3c0817ab2a8184ee 100644
--- a/runtime/observatory/lib/src/elements/code_ref.dart
+++ b/runtime/observatory/lib/src/elements/code_ref.dart
@@ -7,7 +7,7 @@ library code_ref_element;
import 'dart:html';
import 'dart:async';
import 'package:observatory/models.dart' as M
- show IsolateRef, CodeRef, isSyntheticCode;
+ show IsolateRef, CodeRef, isSyntheticCode;
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';
@@ -54,9 +54,10 @@ class CodeRefElement extends HtmlElement implements Renderable {
void render() {
final name = (_code.isOptimized ? '*' : '') + _code.name;
children = [
- new AnchorElement(href: M.isSyntheticCode(_code.kind) ? null
- : Uris.inspect(_isolate, object: _code))
- ..text = name
+ new AnchorElement(
+ href: M.isSyntheticCode(_code.kind)
+ ? null
+ : Uris.inspect(_isolate, object: _code))..text = name
];
}
}
« no previous file with comments | « runtime/observatory/lib/src/elements/class_view.dart ('k') | runtime/observatory/lib/src/elements/code_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698