Index: Source/platform/fonts/mac/FontMac.cpp |
diff --git a/Source/platform/fonts/mac/FontMac.cpp b/Source/platform/fonts/mac/FontMac.cpp |
index 94340a12ff50c6e71a0acc55776b222a6261abde..80df9806aafa3e4451dfdd946b1dc91a75092e2c 100644 |
--- a/Source/platform/fonts/mac/FontMac.cpp |
+++ b/Source/platform/fonts/mac/FontMac.cpp |
@@ -105,7 +105,8 @@ void Font::drawGlyphs(GraphicsContext* gc, const SimpleFontData* font, |
if (isRunningLayoutTest()) { |
shouldSmoothFonts = false; |
- shouldAntialias = false; |
+ if (!isFontSmoothingEnabledForTest()) |
Dirk Pranke
2014/04/23 19:25:48
I guess we're just re-using existing function name
|
+ shouldAntialias = false; |
} |
const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); |