| Index: tests/MipMapTest.cpp
|
| diff --git a/tests/MipMapTest.cpp b/tests/MipMapTest.cpp
|
| index aca6973e198b93922706d830084572c6248800d2..33f467244b44b3e311f69e5f1316e2b09dc0ef88 100644
|
| --- a/tests/MipMapTest.cpp
|
| +++ b/tests/MipMapTest.cpp
|
| @@ -15,8 +15,7 @@ static void make_bitmap(SkBitmap* bm, SkRandom& rand) {
|
| // should fix that to support 1 X N, where N > 1 to return non-null.
|
| int w = 2 + rand.nextU() % 1000;
|
| int h = 2 + rand.nextU() % 1000;
|
| - bm->setConfig(SkBitmap::kARGB_8888_Config, w, h);
|
| - bm->allocPixels();
|
| + bm->allocN32Pixels(w, h);
|
| bm->eraseColor(SK_ColorWHITE);
|
| }
|
|
|
|
|