Index: Source/platform/fonts/mac/FontMac.cpp |
diff --git a/Source/platform/fonts/mac/FontMac.cpp b/Source/platform/fonts/mac/FontMac.cpp |
index 6503e8fa98c656970d3fb386c7e6dfeb5ddefe4b..f2f5ac86a3f34b6cbd587d208ab0daa844c4f8c9 100644 |
--- a/Source/platform/fonts/mac/FontMac.cpp |
+++ b/Source/platform/fonts/mac/FontMac.cpp |
@@ -72,7 +72,7 @@ static void setupPaint(SkPaint* paint, const SimpleFontData* fontData, const Fon |
// When using CoreGraphics, disable hinting when webkit-font-smoothing:antialiased is used. |
// See crbug.com/152304 |
- if (font->fontDescription().fontSmoothing() == Antialiased || font->fontDescription().textRenderingMode() == GeometricPrecision) |
+ if (font->fontDescription().fontSmoothing() == Antialiased || font->fontDescription().textRendering() == GeometricPrecision) |
paint->setHinting(SkPaint::kNo_Hinting); |
} |