| Index: runtime/lib/math_patch.dart
|
| diff --git a/runtime/lib/math_patch.dart b/runtime/lib/math_patch.dart
|
| index 4168db328e669fd03d01425e6366dc3b69cdcb58..fa9dc7e797af53bc174503aafd2909703f9a55a8 100644
|
| --- a/runtime/lib/math_patch.dart
|
| +++ b/runtime/lib/math_patch.dart
|
| @@ -111,7 +111,7 @@ class _Random implements Random {
|
| static int _nextSeed() {
|
| if (_prng == null) {
|
| // TODO(iposva): Use system to get a random seed.
|
| - _prng = new Random(new Date.now().millisecondsSinceEpoch);
|
| + _prng = new Random(new DateTime.now().millisecondsSinceEpoch);
|
| }
|
| // Trigger the PRNG once to change the internal state.
|
| return _prng._nextInt32();
|
|
|