Changeset 242204 in webkit
- Timestamp:
- Feb 28, 2019 10:22:34 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r242196 r242204 1 2019-02-28 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Locale names can be nullptr 4 https://bugs.webkit.org/show_bug.cgi?id=195171 5 <rdar://problem/48262376> 6 7 Reviewed by Dean Jackson. 8 9 Nullptr can't be used in keys to HashMaps, so take an early out in this case. 10 11 This is a partial revert of r241288. 12 13 * platform/graphics/cocoa/FontDescriptionCocoa.cpp: 14 (WebCore::FontDescription::platformResolveGenericFamily): 15 1 16 2019-02-28 Justin Fan <justin_fan@apple.com> 2 17 -
trunk/Source/WebCore/platform/graphics/cocoa/FontDescriptionCocoa.cpp
r241288 r242204 166 166 AtomicString FontDescription::platformResolveGenericFamily(UScriptCode script, const AtomicString& locale, const AtomicString& familyName) 167 167 { 168 if ( script == USCRIPT_COMMON)168 if (locale.isNull() || script == USCRIPT_COMMON) 169 169 return nullAtom(); 170 170
Note: See TracChangeset
for help on using the changeset viewer.