Index: gm/bitmapmatrix.cpp |
diff --git a/gm/bitmapmatrix.cpp b/gm/bitmapmatrix.cpp |
index 46098919f3592a407ad9caf23b86c6f4f75c0a94..eec421f8cfe804df0a38912d9e42476db6a761f7 100644 |
--- a/gm/bitmapmatrix.cpp |
+++ b/gm/bitmapmatrix.cpp |
@@ -107,8 +107,7 @@ private: |
void setupBitmap(SkBitmap* bm) { |
SkASSERT(bm); |
static const int SIZE = 64; |
- bm->setConfig(SkBitmap::kARGB_8888_Config, SIZE, SIZE); |
- bm->allocPixels(); |
+ bm->allocN32Pixels(SIZE, SIZE); |
SkCanvas canvas(*bm); |
SkPaint paint; |