Index: runtime/lib/math_patch.dart |
diff --git a/runtime/lib/math_patch.dart b/runtime/lib/math_patch.dart |
index 7d5e752135c46c515809ad2e15afde4ca417a82f..b07a6bd9bf1c5f47b546e219c88bf8239ead4245 100644 |
--- a/runtime/lib/math_patch.dart |
+++ b/runtime/lib/math_patch.dart |
@@ -99,11 +99,11 @@ double _log(double x) native "Math_log"; |
class _Random implements Random { |
// Internal state of the random number generator. |
- final _state; |
+ final Uint32List _state; |
static const _kSTATE_LO = 0; |
static const _kSTATE_HI = 1; // Unused in Dart code. |
- _Random._withState(Uint32List this._state); |
+ _Random._withState(this._state); |
// The algorithm used here is Multiply with Carry (MWC) with a Base b = 2^32. |
// http://en.wikipedia.org/wiki/Multiply-with-carry |