Index: samples/clock/web/clock.dart |
diff --git a/samples/clock/web/clock.dart b/samples/clock/web/clock.dart |
index 0069f0a64a099dd10f4f87ba13d906ad1a96d1ec..4c1c9103cbf836926d9948cfdc0d53d746abe33f 100644 |
--- a/samples/clock/web/clock.dart |
+++ b/samples/clock/web/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>.fixedLength(2); |
- List<ClockNumber> minutes = new List<ClockNumber>.fixedLength(2); |
- List<ClockNumber> seconds = new List<ClockNumber>.fixedLength(2); |
+ List<ClockNumber> hours = new List<ClockNumber>(2); |
+ List<ClockNumber> minutes = new List<ClockNumber>(2); |
+ List<ClockNumber> seconds = new List<ClockNumber>(2); |
int displayedHour = -1; |
int displayedMinute = -1; |
int displayedSecond = -1; |