Changeset 255219 in webkit
- Timestamp:
- Jan 27, 2020 6:07:06 PM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r255216 r255219 1 2020-01-27 Jonathan Bedard <jbedard@apple.com> 2 3 WebCore: Remove iOS 11 macros from RenderThemeIOS.mm 4 https://bugs.webkit.org/show_bug.cgi?id=206787 5 6 Reviewed by Darin Adler. 7 8 * wtf/PlatformHave.h: Add HAVE(SYSTEM_FONT_STYLE_TITLE_0) and HAVE(SYSTEM_FONT_STYLE_TITLE_4). 9 1 10 2020-01-27 Jonathan Bedard <jbedard@apple.com> 2 11 -
trunk/Source/WTF/wtf/PlatformHave.h
r255073 r255219 566 566 #define HAVE_OS_SIGNPOST 1 567 567 #endif 568 569 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 570 #define HAVE_SYSTEM_FONT_STYLE_TITLE_0 1 571 #define HAVE_SYSTEM_FONT_STYLE_TITLE_4 1 572 #endif -
trunk/Source/WebCore/ChangeLog
r255212 r255219 1 2020-01-27 Jonathan Bedard <jbedard@apple.com> 2 3 WebCore: Remove iOS 11 macros from RenderThemeIOS.mm 4 https://bugs.webkit.org/show_bug.cgi?id=206787 5 6 Reviewed by Darin Adler. 7 8 No functional changes, covered by existing tests. 9 10 * rendering/RenderThemeIOS.mm: 11 (WebCore::RenderThemeIOS::cachedSystemFontDescription const): 12 (WebCore::RenderThemeIOS::updateCachedSystemFontDescription const): 13 1 14 2020-01-27 Devin Rousso <drousso@apple.com> 2 15 -
trunk/Source/WebCore/rendering/RenderThemeIOS.mm
r254373 r255219 1164 1164 static NeverDestroyed<FontCascadeDescription> shortCaption1Font; 1165 1165 static NeverDestroyed<FontCascadeDescription> tallBodyFont; 1166 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 1100001166 #if HAVE(SYSTEM_FONT_STYLE_TITLE_0) 1167 1167 static NeverDestroyed<FontCascadeDescription> title0Font; 1168 1168 #endif … … 1170 1170 static NeverDestroyed<FontCascadeDescription> title2Font; 1171 1171 static NeverDestroyed<FontCascadeDescription> title3Font; 1172 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 1100001172 #if HAVE(SYSTEM_FONT_STYLE_TITLE_4) 1173 1173 static NeverDestroyed<FontCascadeDescription> title4Font; 1174 1174 #endif … … 1198 1198 case CSSValueAppleSystemBody: 1199 1199 return bodyFont; 1200 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 1100001200 #if HAVE(SYSTEM_FONT_STYLE_TITLE_0) 1201 1201 case CSSValueAppleSystemTitle0: 1202 1202 return title0Font; … … 1208 1208 case CSSValueAppleSystemTitle3: 1209 1209 return title3Font; 1210 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 1100001210 #if HAVE(SYSTEM_FONT_STYLE_TITLE_4) 1211 1211 case CSSValueAppleSystemTitle4: 1212 1212 return title4Font; … … 1267 1267 fontDescriptor = adoptCF(CTFontDescriptorCreateWithTextStyle(textStyle, contentSizeCategory(), nullptr)); 1268 1268 break; 1269 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 1100001269 #if HAVE(SYSTEM_FONT_STYLE_TITLE_0) 1270 1270 case CSSValueAppleSystemTitle0: 1271 1271 textStyle = kCTUIFontTextStyleTitle0; … … 1285 1285 fontDescriptor = adoptCF(CTFontDescriptorCreateWithTextStyle(textStyle, contentSizeCategory(), nullptr)); 1286 1286 break; 1287 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 1100001287 #if HAVE(SYSTEM_FONT_STYLE_TITLE_4) 1288 1288 case CSSValueAppleSystemTitle4: 1289 1289 textStyle = kCTUIFontTextStyleTitle4;
Note: See TracChangeset
for help on using the changeset viewer.