Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 551ca60742b3a6e280306bf92b8998d1e84c3251..d089fbc2b99175b105dfb775193bd06045eb37bd 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1488,12 +1488,12 @@ void SkCanvas::concat(const SkMatrix& matrix) { |
void SkCanvas::internalSetMatrix(const SkMatrix& matrix) { |
fDeviceCMDirty = true; |
fMCRec->fMatrix = matrix; |
+ fIsScaleTranslate = matrix.isScaleTranslate(); |
} |
void SkCanvas::setMatrix(const SkMatrix& matrix) { |
this->checkForDeferredSave(); |
this->internalSetMatrix(matrix); |
- fIsScaleTranslate = matrix.isScaleTranslate(); |
this->didSetMatrix(matrix); |
} |