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 392e1f6..b91f6a6 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 5b7c531..4e02a0e 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 df0af6c..bce8a8d 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;