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

Unified Diff: runtime/observatory/lib/src/elements/instance_ref.dart

Issue 2298563002: Removed const from classes arrays in Observatory (Closed)
Patch Set: Created 4 years, 4 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/instance_ref.dart
diff --git a/runtime/observatory/lib/src/elements/instance_ref.dart b/runtime/observatory/lib/src/elements/instance_ref.dart
index cb55976b75dccf53d410c85de8d16d9bb7fe9588..d0f28740c6386f45a4a8ca00b5c5cc6515671168 100644
--- a/runtime/observatory/lib/src/elements/instance_ref.dart
+++ b/runtime/observatory/lib/src/elements/instance_ref.dart
@@ -66,7 +66,7 @@ class InstanceRefElement extends HtmlElement implements Renderable {
new SpanElement()..text = ' ',
new CurlyBlockElement(expanded: _expanded, queue: _r.queue)
..children = [
- new DivElement()..classes = const ['indent']
+ new DivElement()..classes = ['indent']
..children = _createValue()
]
..onToggle.listen((e) async {
@@ -135,7 +135,7 @@ class InstanceRefElement extends HtmlElement implements Renderable {
return [
new AnchorElement(href: Uris.inspect(_isolate, object: _instance))
..children = [
- new SpanElement()..classes = const ['emphasize']
+ new SpanElement()..classes = ['emphasize']
..text = 'Closure',
new SpanElement()..text = _instance.closureFunction.name
]
@@ -144,7 +144,7 @@ class InstanceRefElement extends HtmlElement implements Renderable {
return [
new AnchorElement(href: Uris.inspect(_isolate, object: _instance))
..children = [
- new SpanElement()..classes = const ['emphasize']
+ new SpanElement()..classes = ['emphasize']
..text = _instance.clazz.name,
new SpanElement()..text = _instance.pattern.name
]
@@ -155,7 +155,7 @@ class InstanceRefElement extends HtmlElement implements Renderable {
..text = _instance.clazz.name,
new CurlyBlockElement(queue: _r.queue)
..children = [
- new DivElement()..classes = const ['stackTraceBox']
+ new DivElement()..classes = ['stackTraceBox']
..text = _instance.valueAsString
]
];
@@ -184,7 +184,7 @@ class InstanceRefElement extends HtmlElement implements Renderable {
return [
new AnchorElement(href: Uris.inspect(_isolate, object: _instance))
..children = [
- new SpanElement()..classes = const ['emphasize']
+ new SpanElement()..classes = ['emphasize']
..text = _instance.clazz.name,
new SpanElement()..text = ' (${_instance.length})'
]
@@ -192,13 +192,13 @@ class InstanceRefElement extends HtmlElement implements Renderable {
case M.InstanceKind.mirrorReference:
return [
new AnchorElement(href: Uris.inspect(_isolate, object: _instance))
- ..classes = const ['emphasize']
+ ..classes = ['emphasize']
..text = _instance.clazz.name
];
case M.InstanceKind.weakProperty:
return [
new AnchorElement(href: Uris.inspect(_isolate, object: _instance))
- ..classes = const ['emphasize']
+ ..classes = ['emphasize']
..text = _instance.clazz.name
];
}
« no previous file with comments | « runtime/observatory/lib/src/elements/inbound_references.dart ('k') | runtime/observatory/lib/src/elements/instance_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698