Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1133)

Unified Diff: Source/core/platform/graphics/mac/FontMac.cpp

Issue 14107015: Rename OS(DARWIN) to OS(MACOSX). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/platform/graphics/mac/FontMac.cpp
diff --git a/Source/core/platform/graphics/mac/FontMac.cpp b/Source/core/platform/graphics/mac/FontMac.cpp
index 4072c857bdfb77ff7f093ce2440ff5174394d4f4..eb349caadf901571ccff11a55f48241397e60564 100644
--- a/Source/core/platform/graphics/mac/FontMac.cpp
+++ b/Source/core/platform/graphics/mac/FontMac.cpp
@@ -72,7 +72,7 @@ static void setupPaint(SkPaint* paint, const SimpleFontData* fontData, const Fon
paint->setLCDRenderText(shouldSmoothFonts);
paint->setSubpixelText(true);
-#if OS(DARWIN)
+#if OS(MACOSX)
// When using CoreGraphics, disable hinting when webkit-font-smoothing:antialiased is used.
// See crbug.com/152304
if (font->fontDescription().fontSmoothing() == Antialiased)
« no previous file with comments | « Source/core/platform/graphics/gpu/DrawingBuffer.cpp ('k') | Source/core/platform/image-decoders/ImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698