Unreviewed, rolling out r182522.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Apr 2015 18:44:58 +0000 (18:44 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Apr 2015 18:44:58 +0000 (18:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=143529

Not needed any more (Requested by ap on #webkit).

Reverted changeset:

"Fix the build."
http://trac.webkit.org/changeset/182522

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182558 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm
Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h

index 392e1f61b0d195f460a13ac78345133ac6dc71cb..b91f6a69b5877652b1a0217c83be8e252cf702e1 100644 (file)
@@ -1,3 +1,15 @@
+2015-04-08  Commit Queue  <commit-queue@webkit.org>
+
+        Unreviewed, rolling out r182522.
+        https://bugs.webkit.org/show_bug.cgi?id=143529
+
+        Not needed any more (Requested by ap on #webkit).
+
+        Reverted changeset:
+
+        "Fix the build."
+        http://trac.webkit.org/changeset/182522
+
 2015-04-08  Beth Dakin  <bdakin@apple.com>
 
         Force events should not require preventDefault in order to fire
index 5b7c531a16f8e328e6253a814b03551ab1a72845..4e02a0e875c839fe6177758cb504ad0f3b35efb5 100644 (file)
@@ -284,7 +284,7 @@ void FontCascade::drawGlyphs(GraphicsContext* context, const Font* font, const G
     if (antialiasedFontDilationEnabled() && !CGContextGetShouldSmoothFonts(cgContext) && matchAntialiasedAndSmoothedFonts) {
         resetAntialiasingStyle = true;
         oldAntialiasingStyle = CGContextGetFontAntialiasingStyle(cgContext);
-        CGContextSetFontAntialiasingStyle(cgContext, kCGFontAntialiasingStyleCustomDilation);
+        CGContextSetFontAntialiasingStyle(cgContext, kCGFontAntialiasingStyleUnfilteredCustomDilation);
         CGContextSetFontDilation(cgContext, dilationSizeForTextColor(context->fillColor()));
     }
 #endif
index df0af6cc13338024f405a8cbc4229cabdbe555f4..bce8a8db46dad90cb3468c6b957bade1e9af0d61 100644 (file)
@@ -80,7 +80,7 @@ enum {
     kCGFontAntialiasingStyleUnfiltered = 0 << 7,
     kCGFontAntialiasingStyleFilterLight = 1 << 7,
 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
-    kCGFontAntialiasingStyleCustomDilation = (8 << 7),
+    kCGFontAntialiasingStyleUnfilteredCustomDilation = (8 << 7),
 #endif
 };
 typedef uint32_t CGFontAntialiasingStyle;