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

Unified Diff: runtime/observatory/lib/src/elements/function_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/function_ref.dart
diff --git a/runtime/observatory/lib/src/elements/function_ref.dart b/runtime/observatory/lib/src/elements/function_ref.dart
index 9b2aebd083d182a2c822e2370712be872a6dbad0..e5ace692a41729483caa6b5a5534500da6a62117 100644
--- a/runtime/observatory/lib/src/elements/function_ref.dart
+++ b/runtime/observatory/lib/src/elements/function_ref.dart
@@ -7,8 +7,13 @@ library function_ref_element;
import 'dart:html';
import 'dart:async';
import 'package:observatory/models.dart' as M
- show IsolateRef, FunctionRef, isSyntheticFunction, ClassRef, ObjectRef,
- getFunctionFullName;
+ show
+ IsolateRef,
+ FunctionRef,
+ isSyntheticFunction,
+ ClassRef,
+ ObjectRef,
+ getFunctionFullName;
import 'package:observatory/src/elements/class_ref.dart';
import 'package:observatory/src/elements/helpers/rendering_scheduler.dart';
import 'package:observatory/src/elements/helpers/tag.dart';
@@ -60,8 +65,10 @@ class FunctionRefElement extends HtmlElement implements Renderable {
void render() {
var content = <Element>[
- new AnchorElement(href: M.isSyntheticFunction(_function.kind) ? null
- : Uris.inspect(_isolate, object: _function))
+ new AnchorElement(
+ href: M.isSyntheticFunction(_function.kind)
+ ? null
+ : Uris.inspect(_isolate, object: _function))
..text = _function.name
];
if (qualified) {
@@ -70,8 +77,10 @@ class FunctionRefElement extends HtmlElement implements Renderable {
M.FunctionRef function = (owner as M.FunctionRef);
content.addAll([
new SpanElement()..text = '.',
- new AnchorElement(href: M.isSyntheticFunction(function.kind) ? null
- : Uris.inspect(_isolate, object: function))
+ new AnchorElement(
+ href: M.isSyntheticFunction(function.kind)
+ ? null
+ : Uris.inspect(_isolate, object: function))
..text = function.name
]);
owner = function.dartOwner;
« no previous file with comments | « runtime/observatory/lib/src/elements/flag_list.dart ('k') | runtime/observatory/lib/src/elements/function_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698