| Index: tests/MipMapTest.cpp
|
| diff --git a/tests/MipMapTest.cpp b/tests/MipMapTest.cpp
|
| index 398827367adc3a7468297c910dd74f5672d1d76f..5862d086c7b52a10a2354d4bfd60cf73dae8835a 100644
|
| --- a/tests/MipMapTest.cpp
|
| +++ b/tests/MipMapTest.cpp
|
| @@ -10,7 +10,7 @@
|
| #include "SkBitmap.h"
|
| #include "SkRandom.h"
|
|
|
| -static void make_bitmap(SkBitmap* bm, SkRandom& rand) {
|
| +static void make_bitmap(SkBitmap* bm, SkMWCRandom& rand) {
|
| // for now, Build needs a min size of 2, otherwise it will return NULL.
|
| // should fix that to support 1 X N, where N > 1 to return non-null.
|
| int w = 2 + rand.nextU() % 1000;
|
| @@ -22,7 +22,7 @@ static void make_bitmap(SkBitmap* bm, SkRandom& rand) {
|
|
|
| static void TestMipMap(skiatest::Reporter* reporter) {
|
| SkBitmap bm;
|
| - SkRandom rand;
|
| + SkMWCRandom rand;
|
|
|
| for (int i = 0; i < 500; ++i) {
|
| make_bitmap(&bm, rand);
|
|
|