Index: src/core/SkShader.cpp |
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp |
index 856b6592134ff01451919c48383976fac6cd9a32..9adc8566da192f2f811bf512af0604275173321f 100644 |
--- a/src/core/SkShader.cpp |
+++ b/src/core/SkShader.cpp |
@@ -190,7 +190,7 @@ SkShader::Context::MatrixClass SkShader::Context::ComputeMatrixClass(const SkMat |
MatrixClass mc = kLinear_MatrixClass; |
if (mat.hasPerspective()) { |
- if (mat.fixedStepInX(0, nullptr, nullptr)) { |
+ if (mat.isFixedStepInX()) { |
mc = kFixedStepInX_MatrixClass; |
} else { |
mc = kPerspective_MatrixClass; |