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

Unified Diff: samples/clock/web/numbers.dart

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head. Created 7 years, 10 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: samples/clock/web/numbers.dart
diff --git a/samples/clock/web/numbers.dart b/samples/clock/web/numbers.dart
index 36007a96731e845187553c7c0e5377a47b8dbb0f..c831da40b97ce8820df668710cdc12ed422be52a 100644
--- a/samples/clock/web/numbers.dart
+++ b/samples/clock/web/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>.fixedLength(WIDTH);
+ imgs[y] = new List<ImageElement>(WIDTH);
}
for (int y = 0; y < HEIGHT; ++y) {

Powered by Google App Engine
This is Rietveld 408576698