Index: gm/xfermodes2.cpp |
diff --git a/gm/xfermodes2.cpp b/gm/xfermodes2.cpp |
index 990ee508d50db931dcd6ea9fc661500c98020ff6..046c3ddc2af47dc8d9ad25e3e94f66fc3de1a65e 100644 |
--- a/gm/xfermodes2.cpp |
+++ b/gm/xfermodes2.cpp |
@@ -93,11 +93,10 @@ private: |
SkPackARGB32(0xFF, 0x40, 0x40, 0x40) |
}; |
SkBitmap bg; |
- bg.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); |
+ bg.setConfig(SkBitmap::kARGB_8888_Config, 2, 2, 0, kOpaque_SkAlphaType); |
bg.allocPixels(); |
SkAutoLockPixels bgAlp(bg); |
memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); |
- bg.setIsOpaque(true); |
fBG.reset(SkShader::CreateBitmapShader(bg, |
SkShader::kRepeat_TileMode, |