| Index: sdk/lib/io/timer_impl.dart
|
| diff --git a/sdk/lib/io/timer_impl.dart b/sdk/lib/io/timer_impl.dart
|
| index b1e4d421570541b30575df63cc0ffc049489b66a..415c108957b5a322f850124837efec48023c3073 100644
|
| --- a/sdk/lib/io/timer_impl.dart
|
| +++ b/sdk/lib/io/timer_impl.dart
|
| @@ -21,7 +21,7 @@ class _Timer implements Timer {
|
| Timer timer = new _Timer._internal();
|
| timer._callback = callback;
|
| timer._milliSeconds = milliSeconds;
|
| - timer._wakeupTime = (new Date.now()).millisecondsSinceEpoch + milliSeconds;
|
| + timer._wakeupTime = (new DateTime.now()).millisecondsSinceEpoch + milliSeconds;
|
| timer._repeating = repeating;
|
| timer._addTimerToList();
|
| timer._notifyEventHandler();
|
| @@ -123,7 +123,7 @@ class _Timer implements Timer {
|
|
|
| void _handleTimeout() {
|
| int currentTime =
|
| - (new Date.now()).millisecondsSinceEpoch + _TIMER_JITTER;
|
| + (new DateTime.now()).millisecondsSinceEpoch + _TIMER_JITTER;
|
|
|
| // Collect all pending timers.
|
| DoubleLinkedQueueEntry<_Timer> entry = _timers.firstEntry();
|
|
|