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

Unified Diff: runtime/observatory/lib/src/elements/objectpool_view.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/objectpool_view.dart
diff --git a/runtime/observatory/lib/src/elements/objectpool_view.dart b/runtime/observatory/lib/src/elements/objectpool_view.dart
index 1ba83f2fdcc3ff8972a4de5c307a7868d34f31f4..9d26998cfe48ecbc27a07dbb9c4adc63b93a4d6d 100644
--- a/runtime/observatory/lib/src/elements/objectpool_view.dart
+++ b/runtime/observatory/lib/src/elements/objectpool_view.dart
@@ -129,7 +129,7 @@ class ObjectPoolViewElement extends HtmlElement implements Renderable {
}),
new NavNotifyElement(_notifications, queue: _r.queue)
],
- new DivElement()..classes = const ['content-centered-big']
+ new DivElement()..classes = ['content-centered-big']
..children = [
new HeadingElement.h2()..text = 'Object Pool',
new HRElement(),
@@ -138,14 +138,14 @@ class ObjectPoolViewElement extends HtmlElement implements Renderable {
_instances, queue: _r.queue),
new HRElement(),
new HeadingElement.h3()..text = 'entries (${_pool.entries.length})',
- new DivElement()..classes = const ['memberList']
+ new DivElement()..classes = ['memberList']
..children = _pool.entries.map((entry)
- => new DivElement()..classes = const ['memberItem']
+ => new DivElement()..classes = ['memberItem']
..children = [
- new DivElement()..classes = const ['memberName',
+ new DivElement()..classes = ['memberName',
'hexadecimal']
..text = '[PP+0x${entry.offset.toRadixString(16)}]',
- new DivElement()..classes = const ['memberName']
+ new DivElement()..classes = ['memberName']
..children = _createEntry(entry)
]).toList(),
new HRElement(),
« no previous file with comments | « runtime/observatory/lib/src/elements/object_view.dart ('k') | runtime/observatory/lib/src/elements/objectstore_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698