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

Unified Diff: runtime/observatory/lib/src/elements/isolate_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/isolate_ref.dart
diff --git a/runtime/observatory/lib/src/elements/isolate_ref.dart b/runtime/observatory/lib/src/elements/isolate_ref.dart
index 2bee70bf2e4c791e557ecb731c0c3ecb39e37110..3b32c1807bea6ddc4ce55bda8b316c90e25cf316 100644
--- a/runtime/observatory/lib/src/elements/isolate_ref.dart
+++ b/runtime/observatory/lib/src/elements/isolate_ref.dart
@@ -6,8 +6,7 @@ library isolate_ref_element;
import 'dart:html';
import 'dart:async';
-import 'package:observatory/models.dart' as M
- show IsolateRef, EventRepository;
+import 'package:observatory/models.dart' as M show IsolateRef, EventRepository;
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';
@@ -19,7 +18,6 @@ class IsolateRefElement extends HtmlElement implements Renderable {
Stream<RenderedEvent<IsolateRefElement>> get onRendered => _r.onRendered;
-
M.IsolateRef _isolate;
M.EventRepository _events;
StreamSubscription _updatesSubscription;
@@ -43,8 +41,11 @@ class IsolateRefElement extends HtmlElement implements Renderable {
void attached() {
super.attached();
_updatesSubscription = _events.onIsolateUpdate
- .where((e) => e.isolate.id == isolate.id)
- .listen((e) { _isolate = e.isolate; _r.dirty(); });
+ .where((e) => e.isolate.id == isolate.id)
+ .listen((e) {
+ _isolate = e.isolate;
+ _r.dirty();
+ });
_r.enable();
}
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_reconnect.dart ('k') | runtime/observatory/lib/src/elements/isolate_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698