Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index 5fded935cccb8728d776a348ef3326d1d66ccd9a..198a2a9e497602b24e0ed7b5ed4a9f66c9899a19 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -185,7 +185,7 @@ SkShader* SkPictureShader::refBitmapShader(const SkMatrix& matrix, const SkMatri |
SkCanvas canvas(bm); |
canvas.scale(tileScale.width(), tileScale.height()); |
- canvas.translate(fTile.x(), fTile.y()); |
+ canvas.translate(-fTile.x(), -fTile.y()); |
canvas.drawPicture(fPicture); |
SkMatrix shaderMatrix = this->getLocalMatrix(); |