Index: src/core/SkBitmapProcShader.cpp |
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp |
index 006fedf626d64245e08a979afaa691b8a0b1e7ce..3ad9d5a626afc9fe0bcf45b4d7fe550a1e1147ad 100644 |
--- a/src/core/SkBitmapProcShader.cpp |
+++ b/src/core/SkBitmapProcShader.cpp |
@@ -272,7 +272,7 @@ bool SkBitmapProcShader::onIsABitmap(SkBitmap* texture, SkMatrix* texM, TileMode |
*texture = fRawBitmap; |
} |
if (texM) { |
- texM->reset(); |
+ *texM = this->getLocalMatrix(); |
} |
if (xy) { |
xy[0] = (TileMode)fTileModeX; |