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

Unified Diff: samples/clock/numbers.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « samples/clock/clock.dart ('k') | samples/dartcombat/grids.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/clock/numbers.dart
diff --git a/samples/clock/numbers.dart b/samples/clock/numbers.dart
index dda328f5a420222bffaed43f2ca3fa1b0f8eea75..bfb4d31ae9672679f482672c6ee7d116afc35a95 100644
--- a/samples/clock/numbers.dart
+++ b/samples/clock/numbers.dart
@@ -22,7 +22,7 @@ class ClockNumber {
setElementPosition(root, pos, 0.0);
for (int y = 0; y < HEIGHT; ++y) {
- imgs[y] = new List<ImageElement>(WIDTH);
+ imgs[y] = new List<ImageElement>.fixedLength(WIDTH);
}
for (int y = 0; y < HEIGHT; ++y) {
« no previous file with comments | « samples/clock/clock.dart ('k') | samples/dartcombat/grids.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698