Title: [182522] trunk/Source/WebCore
Revision
182522
Author
[email protected]
Date
2015-04-07 23:41:03 -0700 (Tue, 07 Apr 2015)

Log Message

Fix the build.

* platform/graphics/cocoa/FontCascadeCocoa.mm:
(WebCore::FontCascade::drawGlyphs):
* platform/spi/cg/CoreGraphicsSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (182521 => 182522)


--- trunk/Source/WebCore/ChangeLog	2015-04-08 06:03:32 UTC (rev 182521)
+++ trunk/Source/WebCore/ChangeLog	2015-04-08 06:41:03 UTC (rev 182522)
@@ -1,3 +1,11 @@
+2015-04-07  Simon Fraser  <[email protected]>
+
+        Fix the build.
+
+        * platform/graphics/cocoa/FontCascadeCocoa.mm:
+        (WebCore::FontCascade::drawGlyphs):
+        * platform/spi/cg/CoreGraphicsSPI.h:
+
 2015-04-07  Chris Dumez  <[email protected]>
 
         Unreviewed, another iOS build fix after r182516.

Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm (182521 => 182522)


--- trunk/Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm	2015-04-08 06:03:32 UTC (rev 182521)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm	2015-04-08 06:41:03 UTC (rev 182522)
@@ -284,7 +284,7 @@
     if (antialiasedFontDilationEnabled() && !CGContextGetShouldSmoothFonts(cgContext) && matchAntialiasedAndSmoothedFonts) {
         resetAntialiasingStyle = true;
         oldAntialiasingStyle = CGContextGetFontAntialiasingStyle(cgContext);
-        CGContextSetFontAntialiasingStyle(cgContext, kCGFontAntialiasingStyleUnfilteredCustomDilation);
+        CGContextSetFontAntialiasingStyle(cgContext, kCGFontAntialiasingStyleCustomDilation);
         CGContextSetFontDilation(cgContext, dilationSizeForTextColor(context->fillColor()));
     }
 #endif

Modified: trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h (182521 => 182522)


--- trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h	2015-04-08 06:03:32 UTC (rev 182521)
+++ trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h	2015-04-08 06:41:03 UTC (rev 182522)
@@ -80,7 +80,7 @@
     kCGFontAntialiasingStyleUnfiltered = 0 << 7,
     kCGFontAntialiasingStyleFilterLight = 1 << 7,
 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
-    kCGFontAntialiasingStyleUnfilteredCustomDilation = (8 << 7),
+    kCGFontAntialiasingStyleCustomDilation = (8 << 7),
 #endif
 };
 typedef uint32_t CGFontAntialiasingStyle;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to