Index: gm/xfermodes.cpp |
diff --git a/gm/xfermodes.cpp b/gm/xfermodes.cpp |
index 7ee1e8008614900370f92d44c2d46ba1e949d190..353bebf56fe660465866a33943b0c663acbccb87 100644 |
--- a/gm/xfermodes.cpp |
+++ b/gm/xfermodes.cpp |
@@ -14,8 +14,7 @@ namespace skiagm { |
static void make_bitmaps(int w, int h, SkBitmap* src, SkBitmap* dst, |
SkBitmap* transparent) { |
- src->setConfig(SkBitmap::kARGB_8888_Config, w, h); |
- src->allocPixels(); |
+ src->allocN32Pixels(w, h); |
src->eraseColor(SK_ColorTRANSPARENT); |
SkPaint p; |