| Index: lib/math/random.dart
|
| diff --git a/lib/math/random.dart b/lib/math/random.dart
|
| index ba0f938c987ae978f6369d32bc5f11f0dcdc1411..d533cf629899bd011bb4cca8f7ac4bb084f53ff5 100644
|
| --- a/lib/math/random.dart
|
| +++ b/lib/math/random.dart
|
| @@ -98,7 +98,7 @@ class _Random implements Random {
|
| int _nextSeed() {
|
| if (_prng == null) {
|
| // TODO(iposva): Use system to get a random seed.
|
| - _prng = new _Random(new Date.now().value);
|
| + _prng = new _Random(new Date.now().millisecondsSinceEpoch);
|
| }
|
| // Trigger the PRNG once to change the internal state.
|
| _prng._nextInt32();
|
|
|