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

Unified Diff: runtime/observatory/lib/src/elements/token_stream_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/token_stream_ref.dart
diff --git a/runtime/observatory/lib/src/elements/token_stream_ref.dart b/runtime/observatory/lib/src/elements/token_stream_ref.dart
index 8fcaac61607eecc43d6a0828c31afb2b7e774e13..7bb23644637d4a7c15faf3257af48b0000142dc3 100644
--- a/runtime/observatory/lib/src/elements/token_stream_ref.dart
+++ b/runtime/observatory/lib/src/elements/token_stream_ref.dart
@@ -4,8 +4,7 @@
import 'dart:html';
import 'dart:async';
-import 'package:observatory/models.dart' as M
- show IsolateRef, TokenStreamRef;
+import 'package:observatory/models.dart' as M show IsolateRef, TokenStreamRef;
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';
@@ -51,8 +50,8 @@ class TokenStreamRefElement extends HtmlElement implements Renderable {
void render() {
final text = (_token.name == null || _token.name == '')
- ? 'TokenStream'
- : _token.name;
+ ? 'TokenStream'
+ : _token.name;
children = [
new AnchorElement(href: Uris.inspect(_isolate, object: _token))
..text = text

Powered by Google App Engine
This is Rietveld 408576698