Index: gm/xfermodes2.cpp |
diff --git a/gm/xfermodes2.cpp b/gm/xfermodes2.cpp |
index 1af59d2553b4c331262c2fa9d3cf2ce619e86d3b..2ccabc61cb6377797575bc19f6d86d4d45a33648 100644 |
--- a/gm/xfermodes2.cpp |
+++ b/gm/xfermodes2.cpp |
@@ -96,12 +96,12 @@ private: |
bg.allocN32Pixels(2, 2, true); |
memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData)); |
- fBG.reset(SkShader::CreateBitmapShader(bg, |
- SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode)); |
SkMatrix lm; |
lm.setScale(SkIntToScalar(16), SkIntToScalar(16)); |
- fBG->setLocalMatrix(lm); |
+ fBG.reset(SkShader::CreateBitmapShader(bg, |
+ SkShader::kRepeat_TileMode, |
+ SkShader::kRepeat_TileMode, |
+ &lm)); |
SkBitmap dstBmp; |
dstBmp.allocN32Pixels(kSize, kSize); |