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

Unified Diff: runtime/observatory/lib/src/elements/objectstore_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/objectstore_view.dart
diff --git a/runtime/observatory/lib/src/elements/objectstore_view.dart b/runtime/observatory/lib/src/elements/objectstore_view.dart
index 72a159644c32c0f0c5ed2ce0b463850da7a6f3b8..39391372c147e925d198618f971afeda8a9c0342 100644
--- a/runtime/observatory/lib/src/elements/objectstore_view.dart
+++ b/runtime/observatory/lib/src/elements/objectstore_view.dart
@@ -100,7 +100,7 @@ class ObjectStoreViewElement extends HtmlElement implements Renderable {
..onRefresh.listen((e) => _refresh()),
new NavNotifyElement(_notifications, queue: _r.queue)
],
- new DivElement()..classes = const ['content-centered-big']
+ new DivElement()..classes = ['content-centered-big']
..children = [
new HeadingElement.h1()
..text = fields == null
@@ -109,13 +109,13 @@ class ObjectStoreViewElement extends HtmlElement implements Renderable {
new HRElement(),
fields == null
? (new HeadingElement.h2()..text = 'Loading...')
- : (new DivElement()..classes = const ['memberList']
+ : (new DivElement()..classes = ['memberList']
..children = fields.map((field) =>
- new DivElement()..classes = const ['memberItem']
+ new DivElement()..classes = ['memberItem']
..children = [
- new DivElement()..classes = const ['memberName']
+ new DivElement()..classes = ['memberName']
..text = field.name,
- new DivElement()..classes = const ['memberValue']
+ new DivElement()..classes = ['memberValue']
..children = [
anyRef(_isolate, field.value, _instances,
queue: _r.queue)

Powered by Google App Engine
This is Rietveld 408576698