El Capitan build fix.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Aug 2015 16:46:57 +0000 (16:46 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Aug 2015 16:46:57 +0000 (16:46 +0000)
* platform/graphics/cocoa/FontCascadeCocoa.mm:
(WebCore::FontCascade::drawGlyphs):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm

index 74a4bc3..a5ae96a 100644 (file)
@@ -1,3 +1,10 @@
+2015-08-29  Jessie Berlin  <mitz@apple.com>
+
+        El Capitan build fix.
+
+        * platform/graphics/cocoa/FontCascadeCocoa.mm:
+        (WebCore::FontCascade::drawGlyphs):
+
 2015-08-29  Chris Fleizach  <cfleizach@apple.com>
 
         AX: When navigating the elements of a scrollable element with VoiceOver, the scrollTop() position of the element does not permanently change
index 44faae1..3fc2110 100644 (file)
@@ -308,7 +308,7 @@ void FontCascade::drawGlyphs(GraphicsContext& context, const Font& font, const G
         resetAntialiasingStyle = true;
         oldAntialiasingStyle = CGContextGetFontAntialiasingStyle(cgContext);
         CGContextSetFontAntialiasingStyle(cgContext, kCGFontAntialiasingStyleUnfilteredCustomDilation);
-        CGContextSetFontDilation(cgContext, dilationSizeForTextColor(context->fillColor()));
+        CGContextSetFontDilation(cgContext, dilationSizeForTextColor(context.fillColor()));
     }
 #endif
 #endif