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

Unified Diff: client/samples/total/src/ClientChart.dart

Issue 8231031: Check for compile-time constants in DartCompiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Feedback from floitsch Created 9 years, 2 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: client/samples/total/src/ClientChart.dart
diff --git a/client/samples/total/src/ClientChart.dart b/client/samples/total/src/ClientChart.dart
index b5be3221d83a7c0496535492332d2ade8ef4bd99..e80e9a6f75564d0a07683e25282f75f5bcc1c72a 100644
--- a/client/samples/total/src/ClientChart.dart
+++ b/client/samples/total/src/ClientChart.dart
@@ -5,7 +5,7 @@
class ClientChart extends Chart {
static final List<String> _strokeColors =
- ["#ff0000", "#00ff00", "#0000ff", "#ffff00", "#ff00ff", "#00ffff", "#000000"];
+ const ["#ff0000", "#00ff00", "#0000ff", "#ffff00", "#ff00ff", "#00ffff", "#000000"];
CanvasElement _canvas;

Powered by Google App Engine
This is Rietveld 408576698