| Index: tests/SortTest.cpp
|
| ===================================================================
|
| --- tests/SortTest.cpp (revision 7902)
|
| +++ tests/SortTest.cpp (working copy)
|
| @@ -15,7 +15,7 @@
|
| }
|
| }
|
|
|
| -static void rand_array(SkRandom& rand, int array[], int n) {
|
| +static void rand_array(SkMWCRandom& rand, int array[], int n) {
|
| for (int j = 0; j < n; j++) {
|
| array[j] = rand.nextS() & 0xFF;
|
| }
|
| @@ -40,7 +40,7 @@
|
| /** The random numbers are copied into this array, sorted by an SkSort,
|
| then this array is compared against the reference sort. */
|
| int workingArray[SK_ARRAY_COUNT(randomArray)];
|
| - SkRandom rand;
|
| + SkMWCRandom rand;
|
|
|
| for (int i = 0; i < 10000; i++) {
|
| int count = rand.nextRangeU(1, SK_ARRAY_COUNT(randomArray));
|
|
|