Title: [191441] trunk/Source/WebCore
Revision
191441
Author
fred.w...@free.fr
Date
2015-10-21 23:59:04 -0700 (Wed, 21 Oct 2015)

Log Message

Unreviewed compilation fix on Mac.

* platform/graphics/cocoa/FontCocoa.mm:
(WebCore::Font::platformInit): Add missing font argument.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (191440 => 191441)


--- trunk/Source/WebCore/ChangeLog	2015-10-22 06:45:21 UTC (rev 191440)
+++ trunk/Source/WebCore/ChangeLog	2015-10-22 06:59:04 UTC (rev 191441)
@@ -1,5 +1,12 @@
 2015-10-21  Frederic Wang  <fred.w...@free.fr>
 
+        Unreviewed compilation fix on Mac.
+
+        * platform/graphics/cocoa/FontCocoa.mm:
+        (WebCore::Font::platformInit): Add missing font argument.
+
+2015-10-21  Frederic Wang  <fred.w...@free.fr>
+
         [Mac] Add support for the USE_TYPO_METRICS flag
         https://bugs.webkit.org/show_bug.cgi?id=150394
 

Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontCocoa.mm (191440 => 191441)


--- trunk/Source/WebCore/platform/graphics/cocoa/FontCocoa.mm	2015-10-22 06:45:21 UTC (rev 191440)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontCocoa.mm	2015-10-22 06:59:04 UTC (rev 191441)
@@ -179,7 +179,7 @@
     // 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 (CFDataRef os2Table = CGFontCopyTableForTag(kCTFontTableOS2)) {
+        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
             const CFIndex fsSelectionOffset = 16 * 2 + 10 + 4 * 4 + 4 * 1;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to