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

Unified Diff: runtime/observatory/lib/src/elements/containers/virtual_collection.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/containers/virtual_collection.dart
diff --git a/runtime/observatory/lib/src/elements/containers/virtual_collection.dart b/runtime/observatory/lib/src/elements/containers/virtual_collection.dart
index d0973e2bca4be73a9cc3519d61e772724fa9f053..d8d6e1646ae83e365ec9446c362628fd31c84d77 100644
--- a/runtime/observatory/lib/src/elements/containers/virtual_collection.dart
+++ b/runtime/observatory/lib/src/elements/containers/virtual_collection.dart
@@ -77,9 +77,9 @@ class VirtualCollectionElement extends HtmlElement implements Renderable {
_onResizeSubscription.cancel();
}
- final DivElement _header = new DivElement()..classes = const ['header'];
- final DivElement _scroller = new DivElement()..classes = const ['scroller'];
- final DivElement _shifter = new DivElement()..classes = const ['shifter'];
+ final DivElement _header = new DivElement()..classes = ['header'];
+ final DivElement _scroller = new DivElement()..classes = ['scroller'];
+ final DivElement _shifter = new DivElement()..classes = ['shifter'];
dynamic getItemFromElement(HtmlElement element) {
final el_index = _shifter.children.indexOf(element);
« no previous file with comments | « runtime/observatory/lib/src/elements/allocation_profile.dart ('k') | runtime/observatory/lib/src/elements/context_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698