Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index 82fd84b8bc740768681efeb7d6a3273f226568f5..b9c39fa8ceed6c0f44d7983bdbd34c149cc62eaa 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -460,7 +460,7 @@ bool PtProcRec::init(SkCanvas::PointMode mode, const SkPaint& paint, |
return true; |
} |
if (paint.getStrokeCap() != SkPaint::kRound_Cap && |
- matrix->rectStaysRect() && SkCanvas::kPoints_PointMode == mode) { |
+ matrix->isScaleTranslate() && SkCanvas::kPoints_PointMode == mode) { |
SkScalar sx = matrix->get(SkMatrix::kMScaleX); |
SkScalar sy = matrix->get(SkMatrix::kMScaleY); |
if (SkScalarNearlyZero(sx - sy)) { |