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

Unified Diff: samples/clock/clock.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/balls.dart ('k') | samples/clock/numbers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/clock/clock.dart
diff --git a/samples/clock/clock.dart b/samples/clock/clock.dart
index 737f68bf5e74e422dfd8f39a6524f47049d3ba41..9a90c2e0b731655b2c37340cd2815f3a6cca3c3b 100644
--- a/samples/clock/clock.dart
+++ b/samples/clock/clock.dart
@@ -34,9 +34,9 @@ class CountDownClock {
static const double BALL_WIDTH = 19.0;
static const double BALL_HEIGHT = 19.0;
- List<ClockNumber> hours = new List<ClockNumber>(2);
- List<ClockNumber> minutes = new List<ClockNumber>(2);
- List<ClockNumber> seconds = new List<ClockNumber>(2);
+ List<ClockNumber> hours = new List<ClockNumber>.fixedLength(2);
+ List<ClockNumber> minutes = new List<ClockNumber>.fixedLength(2);
+ List<ClockNumber> seconds = new List<ClockNumber>.fixedLength(2);
int displayedHour = 0;
int displayedMinute = 0;
int displayedSecond = 0;
« no previous file with comments | « samples/clock/balls.dart ('k') | samples/clock/numbers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698