aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/MipMapTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MipMapTest.cpp')
-rw-r--r--tests/MipMapTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/MipMapTest.cpp b/tests/MipMapTest.cpp
index 5862d086c7..398827367a 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, SkMWCRandom& rand) {
+static void make_bitmap(SkBitmap* bm, SkRandom& 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, SkMWCRandom& rand) {
static void TestMipMap(skiatest::Reporter* reporter) {
SkBitmap bm;
- SkMWCRandom rand;
+ SkRandom rand;
for (int i = 0; i < 500; ++i) {
make_bitmap(&bm, rand);