diff options
Diffstat (limited to 'src/core/SkComposeShader.cpp')
-rw-r--r-- | src/core/SkComposeShader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkComposeShader.cpp b/src/core/SkComposeShader.cpp index e925ab5627..2fe7a20980 100644 --- a/src/core/SkComposeShader.cpp +++ b/src/core/SkComposeShader.cpp @@ -94,8 +94,7 @@ bool SkComposeShader::setContext(const SkBitmap& device, SkMatrix tmpM; - (void)this->getLocalMatrix(&tmpM); - tmpM.setConcat(matrix, tmpM); + tmpM.setConcat(matrix, this->getLocalMatrix()); SkAutoAlphaRestore restore(const_cast<SkPaint*>(&paint), 0xFF); |