Index: gm/xfermodes3.cpp |
diff --git a/gm/xfermodes3.cpp b/gm/xfermodes3.cpp |
index baac3cdaff6d44e36bfd465388c928c1eab48f3c..d01c0190d4a4391f6f99a1a8052b493a47acdc57 100644 |
--- a/gm/xfermodes3.cpp |
+++ b/gm/xfermodes3.cpp |
@@ -188,11 +188,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); |
fBGShader.reset(SkShader::CreateBitmapShader(bg, |
SkShader::kRepeat_TileMode, |