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

Unified Diff: runtime/observatory/lib/src/elements/local_var_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/local_var_descriptors_ref.dart
diff --git a/runtime/observatory/lib/src/elements/local_var_descriptors_ref.dart b/runtime/observatory/lib/src/elements/local_var_descriptors_ref.dart
index 4ca623dbf6d76e05f6acf3677572f27376e54cf1..ce3981cb25803df7ce86826983dccce6de1976bb 100644
--- a/runtime/observatory/lib/src/elements/local_var_descriptors_ref.dart
+++ b/runtime/observatory/lib/src/elements/local_var_descriptors_ref.dart
@@ -5,7 +5,7 @@
import 'dart:html';
import 'dart:async';
import 'package:observatory/models.dart' as M
- show IsolateRef, LocalVarDescriptorsRef;
+ show IsolateRef, LocalVarDescriptorsRef;
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';
@@ -24,8 +24,9 @@ class LocalVarDescriptorsRefElement extends HtmlElement implements Renderable {
M.IsolateRef get isolate => _isolate;
M.LocalVarDescriptorsRef get localVar => _localVar;
- factory LocalVarDescriptorsRefElement(M.IsolateRef isolate,
- M.LocalVarDescriptorsRef localVar, {RenderingQueue queue}) {
+ factory LocalVarDescriptorsRefElement(
+ M.IsolateRef isolate, M.LocalVarDescriptorsRef localVar,
+ {RenderingQueue queue}) {
assert(isolate != null);
assert(localVar != null);
LocalVarDescriptorsRefElement e = document.createElement(tag.name);
@@ -52,8 +53,8 @@ class LocalVarDescriptorsRefElement extends HtmlElement implements Renderable {
void render() {
final text = (_localVar.name == null || _localVar.name == '')
- ? 'LocalVarDescriptors'
- : _localVar.name;
+ ? 'LocalVarDescriptors'
+ : _localVar.name;
children = [
new AnchorElement(href: Uris.inspect(_isolate, object: _localVar))
..text = text
« no previous file with comments | « runtime/observatory/lib/src/elements/library_view.dart ('k') | runtime/observatory/lib/src/elements/logging.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698