diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp index 35a9b29558..29f794a99f 100644 --- a/src/core/SkScalerContext.cpp +++ b/src/core/SkScalerContext.cpp @@ -829,7 +829,7 @@ SkAxisAlignment SkComputeAxisAlignmentForHText(const SkMatrix& matrix) { if (0 == matrix[SkMatrix::kMSkewY]) { return kX_SkAxisAlignment; } - if (0 == matrix[SkMatrix::kMScaleX]) { + if (0 == matrix[SkMatrix::kMSkewX]) { return kY_SkAxisAlignment; } return kNone_SkAxisAlignment;