Title: [191443] trunk/Source/WebCore
- Revision
- 191443
- Author
- [email protected]
- Date
- 2015-10-22 00:09:43 -0700 (Thu, 22 Oct 2015)
Log Message
Unreviewed compilation fix on Mac.
* platform/graphics/cocoa/FontCocoa.mm:
(WebCore::Font::platformInit): Use a pointer for the third argument of CFArrayContainsValue.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (191442 => 191443)
--- trunk/Source/WebCore/ChangeLog 2015-10-22 07:07:41 UTC (rev 191442)
+++ trunk/Source/WebCore/ChangeLog 2015-10-22 07:09:43 UTC (rev 191443)
@@ -1,3 +1,10 @@
+2015-10-22 Frederic Wang <[email protected]>
+
+ Unreviewed compilation fix on Mac.
+
+ * platform/graphics/cocoa/FontCocoa.mm:
+ (WebCore::Font::platformInit): Use a pointer for the third argument of CFArrayContainsValue.
+
2015-10-21 Frederic Wang <[email protected]>
Unreviewed compilation fix on Mac.
Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontCocoa.mm (191442 => 191443)
--- trunk/Source/WebCore/platform/graphics/cocoa/FontCocoa.mm 2015-10-22 07:07:41 UTC (rev 191442)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontCocoa.mm 2015-10-22 07:09:43 UTC (rev 191443)
@@ -178,7 +178,7 @@
// "If set, it is strongly recommended to use OS/2.sTypoAscender - OS/2.sTypoDescender+ OS/2.sTypoLineGap as a value for default line spacing for this font."
// We only apply this rule in the important case of fonts with a MATH table.
CFArrayRef availableTables = CTFontCopyAvailableTables(m_platformData.cgFont(), kCTFontTableOptionNoOptions);
- if (CFArrayContainsValue(availableTables, CFRangeMake(0, CFArrayGetCount(availableTables)), kCTFontTableMATH)) {
+ if (CFArrayContainsValue(availableTables, CFRangeMake(0, CFArrayGetCount(availableTables)), &kCTFontTableMATH)) {
if (CFDataRef os2Table = CGFontCopyTableForTag(m_platformData.cgFont(), kCTFontTableOS2)) {
// For the structure of the OS/2 table, see
// https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6OS2.html
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes