Changeset 283197 in webkit
- Timestamp:
- Sep 28, 2021 3:03:46 PM (10 months ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cocoa/FontCacheCoreText.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r283193 r283197 1 2021-09-28 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Negative integers in @font-palette-values are invalid 4 https://bugs.webkit.org/show_bug.cgi?id=230788 5 6 Reviewed by Simon Fraser. 7 <rdar://problem/83528806> 8 9 Addressing post-commit review. 10 11 No new tests because there is no behavior change. 12 13 * platform/graphics/cocoa/FontCacheCoreText.cpp: 14 (WebCore::addAttributesForFontPalettes): 15 1 16 2021-09-28 Cameron McCormack <heycam@apple.com> 2 17 -
trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
r283188 r283197 453 453 break; 454 454 case FontPalette::Type::Light: { 455 autolight = kCTFontPaletteLight;455 CFIndex light = kCTFontPaletteLight; 456 456 auto number = adoptCF(CFNumberCreate(kCFAllocatorDefault, kCFNumberCFIndexType, &light)); 457 457 CFDictionaryAddValue(attributes, kCTFontPaletteAttribute, number.get()); … … 459 459 } 460 460 case FontPalette::Type::Dark: { 461 autodark = kCTFontPaletteDark;461 CFIndex dark = kCTFontPaletteDark; 462 462 auto number = adoptCF(CFNumberCreate(kCFAllocatorDefault, kCFNumberCFIndexType, &dark)); 463 463 CFDictionaryAddValue(attributes, kCTFontPaletteAttribute, number.get());
Note: See TracChangeset
for help on using the changeset viewer.