| Index: tests/KtxTest.cpp
|
| diff --git a/tests/KtxTest.cpp b/tests/KtxTest.cpp
|
| index ee6a17dabde3f118d78f3e4c09a09979067da275..94a4c22e033cffa7f767de5e10343be26b3b7438 100644
|
| --- a/tests/KtxTest.cpp
|
| +++ b/tests/KtxTest.cpp
|
| @@ -27,9 +27,7 @@ DEF_TEST(KtxReadWrite, reporter) {
|
| SkRandom rand(0x1005cbad);
|
|
|
| SkBitmap bm8888;
|
| - bm8888.setConfig(SkBitmap::kARGB_8888_Config, 128, 128);
|
| -
|
| - bool pixelsAllocated = bm8888.allocPixels();
|
| + bool pixelsAllocated = bm8888.allocN32Pixels(128, 128);
|
| REPORTER_ASSERT(reporter, pixelsAllocated);
|
|
|
| uint8_t *pixels = reinterpret_cast<uint8_t*>(bm8888.getPixels());
|
|
|