Index: src/ports/SkFontHost_mac.cpp |
diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp |
index c4e80b67c0aa8be20d874f35cd73008c13d6347c..f1724b675b4a06c38e2bbfedbec128a62b50b620 100644 |
--- a/src/ports/SkFontHost_mac.cpp |
+++ b/src/ports/SkFontHost_mac.cpp |
@@ -1359,13 +1359,10 @@ void SkScalerContext_Mac::generatePath(const SkGlyph& glyph, SkPath* path) { |
* direction, ask for the path, and then scale the path back down. |
*/ |
if (fDoSubPosition) { |
- SkMatrix m; |
- fRec.getSingleMatrix(&m); |
- |
// start out by assuming that we want no hining in X and Y |
scaleX = scaleY = kScaleForSubPixelPositionHinting; |
// now see if we need to restore hinting for axis-aligned baselines |
- switch (SkComputeAxisAlignmentForHText(m)) { |
+ switch (this->computeAxisAlignmentForHText()) { |
case kX_SkAxisAlignment: |
scaleY = SK_Scalar1; // want hinting in the Y direction |
break; |