Index: gm/offsetimagefilter.cpp |
diff --git a/gm/offsetimagefilter.cpp b/gm/offsetimagefilter.cpp |
index 95f1a31fe590461112d746977d28a5f987eed462..e0d2fbc81bf33409a87f9e4661b8055c0b4fb9b1 100644 |
--- a/gm/offsetimagefilter.cpp |
+++ b/gm/offsetimagefilter.cpp |
@@ -27,8 +27,7 @@ protected: |
} |
void make_bitmap() { |
- fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 80, 80); |
- fBitmap.allocPixels(); |
+ fBitmap.allocN32Pixels(80, 80); |
SkBitmapDevice device(fBitmap); |
SkCanvas canvas(&device); |
canvas.clear(0x00000000); |