Index: src/core/SkLocalMatrixShader.cpp |
diff --git a/src/core/SkLocalMatrixShader.cpp b/src/core/SkLocalMatrixShader.cpp |
index c77f38d6d68bcf53d6a230bce164d3f8a32a6ce3..e5d92484700bbf593ab4e1f7119bc15045e72b98 100644 |
--- a/src/core/SkLocalMatrixShader.cpp |
+++ b/src/core/SkLocalMatrixShader.cpp |
@@ -27,7 +27,7 @@ SkShader::Context* SkLocalMatrixShader::onCreateContext(const ContextRec& rec, |
ContextRec newRec(rec); |
SkMatrix tmp; |
if (rec.fLocalMatrix) { |
- tmp.setConcat(this->getLocalMatrix(), *rec.fLocalMatrix); |
+ tmp.setConcat(*rec.fLocalMatrix, this->getLocalMatrix()); |
newRec.fLocalMatrix = &tmp; |
} else { |
newRec.fLocalMatrix = &this->getLocalMatrix(); |