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

Changeset 181857 in webkit


Ignore:
Timestamp:
Mar 23, 2015, 11:18:49 AM (11 years ago)
Author:
ddkilzer@apple.com
Message:

[iOS] Build fix: CoreText deprecated kCTFontSystemFontType

Fix tracked by: <rdar://problem/20261171>

  • rendering/RenderThemeIOS.mm:

(WebCore::RenderThemeIOS::updateCachedSystemFontDescription):
Add clang pragmas.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181856 r181857  
     12015-03-23  David Kilzer  <ddkilzer@apple.com>
     2
     3        [iOS] Build fix: CoreText deprecated kCTFontSystemFontType
     4
     5        Fix tracked by:  <rdar://problem/20261171>
     6
     7        * rendering/RenderThemeIOS.mm:
     8        (WebCore::RenderThemeIOS::updateCachedSystemFontDescription):
     9        Add clang pragmas.
     10
    1112015-03-23  Brent Fulgham  <bfulgham@apple.com>
    212
  • trunk/Source/WebCore/rendering/RenderThemeIOS.mm

    r181058 r181857  
    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
    12651270        fontDescriptor = adoptCF(CTFontDescriptorCreateForUIType(kCTFontSystemFontType, 0, nullptr));
     1271#if COMPILER(CLANG)
     1272#pragma clang diagnostic pop
     1273#endif
    12661274    }
    12671275
Note: See TracChangeset for help on using the changeset viewer.