| Index: samplecode/SampleApp.cpp
|
| diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
|
| index 5188588706fa5e48c1995cbdedc17d4326173223..b3632f840ff0d7e8f6473bcb9adfb40faa818422 100644
|
| --- a/samplecode/SampleApp.cpp
|
| +++ b/samplecode/SampleApp.cpp
|
| @@ -2435,7 +2435,7 @@ template <typename T> void SkTBSort(T array[], int count) {
|
|
|
| #include "SkRandom.h"
|
|
|
| -static void rand_rect(SkIRect* rect, SkMWCRandom& rand) {
|
| +static void rand_rect(SkIRect* rect, SkRandom& rand) {
|
| int bits = 8;
|
| int shift = 32 - bits;
|
| rect->set(rand.nextU() >> shift, rand.nextU() >> shift,
|
| @@ -2499,7 +2499,7 @@ static void test() {
|
| test_rects(gRecs[i].fRects, gRecs[i].fCount);
|
| }
|
|
|
| - SkMWCRandom rand;
|
| + SkRandom rand;
|
| for (i = 0; i < 10000; i++) {
|
| SkRegion rgn0, rgn1;
|
|
|
|
|