Index: gm/xfermodes.cpp |
diff --git a/gm/xfermodes.cpp b/gm/xfermodes.cpp |
index 24c48ee74720b0bf3e486a9b43058fc67e13ef18..16d6cbb34bda2811cb7886a9da3412ed7c9ba89f 100644 |
--- a/gm/xfermodes.cpp |
+++ b/gm/xfermodes.cpp |
@@ -216,12 +216,12 @@ protected: |
const SkScalar w = SkIntToScalar(W); |
const SkScalar h = SkIntToScalar(H); |
- SkShader* s = SkShader::CreateBitmapShader(fBG, |
- SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode); |
SkMatrix m; |
m.setScale(SkIntToScalar(6), SkIntToScalar(6)); |
- s->setLocalMatrix(m); |
+ SkShader* s = SkShader::CreateBitmapShader(fBG, |
+ SkShader::kRepeat_TileMode, |
+ SkShader::kRepeat_TileMode, |
+ &m); |
SkPaint labelP; |
labelP.setAntiAlias(true); |