| Index: tools/picture_utils.cpp
|
| diff --git a/tools/picture_utils.cpp b/tools/picture_utils.cpp
|
| index c698a69835b96558a515eadf63791d0e0a0af3ad..4e6c81e4173dce6d3e117dfff856ff425c5b960c 100644
|
| --- a/tools/picture_utils.cpp
|
| +++ b/tools/picture_utils.cpp
|
| @@ -97,8 +97,7 @@ namespace sk_tools {
|
| }
|
|
|
| void setup_bitmap(SkBitmap* bitmap, int width, int height) {
|
| - bitmap->setConfig(SkBitmap::kARGB_8888_Config, width, height);
|
| - bitmap->allocPixels();
|
| + bitmap->allocN32Pixels(width, height);
|
| bitmap->eraseColor(SK_ColorTRANSPARENT);
|
| }
|
|
|
|
|