Index: gm/giantbitmap.cpp |
diff --git a/gm/giantbitmap.cpp b/gm/giantbitmap.cpp |
index ab75dc7306b8c059e9ff3726ac1e6730eadb082d..c284809b16af530e3bb5557f774d50000d3d094c 100644 |
--- a/gm/giantbitmap.cpp |
+++ b/gm/giantbitmap.cpp |
@@ -27,8 +27,7 @@ class GiantBitmapGM : public skiagm::GM { |
const SkBitmap& getBitmap() { |
if (NULL == fBM) { |
fBM = new SkBitmap; |
- fBM->setConfig(SkBitmap::kARGB_8888_Config, W, H); |
- fBM->allocPixels(); |
+ fBM->allocN32Pixels(W, H); |
fBM->eraseColor(SK_ColorWHITE); |
const SkColor colors[] = { |