Index: gm/lighting.cpp |
diff --git a/gm/lighting.cpp b/gm/lighting.cpp |
index ab2915d57d79b1efe53909466e92a7e2406126cb..1cab55377aecf634cf1a2beed33701497649cfb3 100644 |
--- a/gm/lighting.cpp |
+++ b/gm/lighting.cpp |
@@ -25,8 +25,7 @@ protected: |
} |
void make_bitmap() { |
- fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); |
- fBitmap.allocPixels(); |
+ fBitmap.allocN32Pixels(100, 100); |
SkBitmapDevice device(fBitmap); |
SkCanvas canvas(&device); |
canvas.clear(0x00000000); |