Index: gm/spritebitmap.cpp |
diff --git a/gm/spritebitmap.cpp b/gm/spritebitmap.cpp |
index 8aaa6ea78b8fa371e21627b9a98d551e24d8be18..5884efeca01addef0c968908743836b209d409ee 100644 |
--- a/gm/spritebitmap.cpp |
+++ b/gm/spritebitmap.cpp |
@@ -10,8 +10,7 @@ |
#include "SkBlurImageFilter.h" |
static void make_bm(SkBitmap* bm) { |
- bm->setConfig(SkBitmap::kARGB_8888_Config, 100, 100); |
- bm->allocPixels(); |
+ bm->allocN32Pixels(100, 100); |
bm->eraseColor(SK_ColorBLUE); |
SkCanvas canvas(*bm); |