Index: src/core/SkBitmapProcShader.cpp |
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp |
index d726a46f118e960c583a30bc6fd542d6a87ec3e9..3ac26f0a1986a0c523e32c2de1c28f197d3a2c73 100644 |
--- a/src/core/SkBitmapProcShader.cpp |
+++ b/src/core/SkBitmapProcShader.cpp |
@@ -385,11 +385,11 @@ void SkBitmapProcShader::toString(SkString* str) const { |
// Note that this will return -1 if either matrix is perspective. |
static SkScalar get_combined_min_stretch(const SkMatrix& viewMatrix, const SkMatrix& localMatrix) { |
if (localMatrix.isIdentity()) { |
- return viewMatrix.getMinStretch(); |
+ return viewMatrix.getMinScale(); |
} else { |
SkMatrix combined; |
combined.setConcat(viewMatrix, localMatrix); |
- return combined.getMinStretch(); |
+ return combined.getMinScale(); |
} |
} |