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

Unified Diff: runtime/observatory/lib/src/elements/megamorphiccache_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/megamorphiccache_ref.dart
diff --git a/runtime/observatory/lib/src/elements/megamorphiccache_ref.dart b/runtime/observatory/lib/src/elements/megamorphiccache_ref.dart
index e5967271d5c7915454d0d3db13205c36d7686d75..36a4aa987aa9d11e4c07e663e00ce6d0a718185c 100644
--- a/runtime/observatory/lib/src/elements/megamorphiccache_ref.dart
+++ b/runtime/observatory/lib/src/elements/megamorphiccache_ref.dart
@@ -5,7 +5,7 @@
import 'dart:html';
import 'dart:async';
import 'package:observatory/models.dart' as M
- show IsolateRef, MegamorphicCacheRef;
+ show IsolateRef, MegamorphicCacheRef;
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';
@@ -25,8 +25,9 @@ class MegamorphicCacheRefElement extends HtmlElement implements Renderable {
M.IsolateRef get isolate => _isolate;
M.MegamorphicCacheRef get cache => _cache;
- factory MegamorphicCacheRefElement(M.IsolateRef isolate,
- M.MegamorphicCacheRef cache, {RenderingQueue queue}) {
+ factory MegamorphicCacheRefElement(
+ M.IsolateRef isolate, M.MegamorphicCacheRef cache,
+ {RenderingQueue queue}) {
assert(isolate != null);
assert(cache != null);
MegamorphicCacheRefElement e = document.createElement(tag.name);
@@ -55,7 +56,8 @@ class MegamorphicCacheRefElement extends HtmlElement implements Renderable {
children = [
new AnchorElement(href: Uris.inspect(_isolate, object: _cache))
..children = [
- new SpanElement()..classes = ['emphasize']
+ new SpanElement()
+ ..classes = ['emphasize']
..text = 'MegarmorphicCache',
new SpanElement()..text = ' (${_cache.selector})'
]

Powered by Google App Engine
This is Rietveld 408576698