Index: src/core/SkScalerContext.cpp |
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp |
index 35a9b295583f24dca59b516f1c6845548ac31629..29f794a99f1dffeffc1fed64a0ebc1c5e8e67440 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; |