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

Unified Diff: runtime/observatory/lib/src/elements/isolate/counter_chart.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/isolate/counter_chart.dart
diff --git a/runtime/observatory/lib/src/elements/isolate/counter_chart.dart b/runtime/observatory/lib/src/elements/isolate/counter_chart.dart
index 5f4290ed7d6e297b2865f1438b2dbcaf101560fd..fc782a4e93aa9219468a423bfbd004588be8683e 100644
--- a/runtime/observatory/lib/src/elements/isolate/counter_chart.dart
+++ b/runtime/observatory/lib/src/elements/isolate/counter_chart.dart
@@ -55,8 +55,8 @@ class IsolateCounterChartElement extends HtmlElement implements Renderable {
final _series = [new ChartSeries("Work", const [1], new PieChartRenderer(
sortDataByValue: false
))];
- final areaHost = new DivElement()..classes = const ['host'];
- final legendHost = new DivElement()..classes = const ['legend'];
+ final areaHost = new DivElement()..classes = ['host'];
+ final legendHost = new DivElement()..classes = ['legend'];
children = [areaHost, legendHost];
final rect = areaHost.getBoundingClientRect();
final minSize = new Rect.size(rect.width, rect.height);

Powered by Google App Engine
This is Rietveld 408576698