Index: gm/bitmapshader.cpp |
diff --git a/gm/bitmapshader.cpp b/gm/bitmapshader.cpp |
index d1915c9c90632dabf31671cd92f35b3dff33d5bb..4649b7e95f16486c61bb1407a6ce2635af1fb369 100644 |
--- a/gm/bitmapshader.cpp |
+++ b/gm/bitmapshader.cpp |
@@ -28,7 +28,7 @@ static void draw_mask(SkBitmap* bm) { |
SkPaint circlePaint; |
circlePaint.setColor(SK_ColorBLACK); |
- bm->allocConfigPixels(SkBitmap::kA8_Config, 20, 20); |
+ bm->allocPixels(SkImageInfo::MakeA8(20, 20)); |
bm->eraseColor(SK_ColorTRANSPARENT); |
SkCanvas canvas(*bm); |