⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181870 in webkit


Ignore:
Timestamp:
Mar 23, 2015, 2:32:38 PM (11 years ago)
Author:
dino@apple.com
Message:

kCTFontSystemFontType is deprecated in CoreText
https://bugs.webkit.org/show_bug.cgi?id=142981
<rdar://problem/20261171>

Reviewed by Beth Dakin.

Update to the non-deprecated version.

  • rendering/RenderThemeIOS.mm: kCTFontSystemFontType -> kCTFontUIFontSystem

(WebCore::RenderThemeIOS::updateCachedSystemFontDescription):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181865 r181870  
     12015-03-23  Dean Jackson  <dino@apple.com>
     2
     3        kCTFontSystemFontType is deprecated in CoreText
     4        https://bugs.webkit.org/show_bug.cgi?id=142981
     5        <rdar://problem/20261171>
     6
     7        Reviewed by Beth Dakin.
     8
     9        Update to the non-deprecated version.
     10
     11        * rendering/RenderThemeIOS.mm: kCTFontSystemFontType -> kCTFontUIFontSystem
     12        (WebCore::RenderThemeIOS::updateCachedSystemFontDescription):
     13
    1142015-03-23  Eric Carlson  <eric.carlson@apple.com>
    215
  • trunk/Source/WebCore/rendering/RenderThemeIOS.mm

    r181857 r181870  
    12631263    default:
    12641264        textStyle = kCTFontDescriptorTextStyleEmphasized;
    1265 #if COMPILER(CLANG)
    1266 #pragma clang diagnostic push
    1267 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
    1268 #endif
    1269         // <rdar://problem/20261171> kCTFontSystemFontType is deprecated in CoreText
    1270         fontDescriptor = adoptCF(CTFontDescriptorCreateForUIType(kCTFontSystemFontType, 0, nullptr));
    1271 #if COMPILER(CLANG)
    1272 #pragma clang diagnostic pop
    1273 #endif
     1265        fontDescriptor = adoptCF(CTFontDescriptorCreateForUIType(kCTFontUIFontSystem, 0, nullptr));
    12741266    }
    12751267
Note: See TracChangeset for help on using the changeset viewer.