Changeset 204154 in webkit
- Timestamp:
- Aug 4, 2016, 5:20:48 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r204150 r204154 1 2016-08-04 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [Fontconfig] Segmentation fault in WebCore::FontCache::lastResortFallbackFont 4 https://bugs.webkit.org/show_bug.cgi?id=141432 5 6 Reviewed by Myles C. Maxfield. 7 8 Crash more cleanly when we can't find any last resort fallback font. 9 10 * platform/graphics/freetype/FontCacheFreeType.cpp: 11 (WebCore::FontCache::lastResortFallbackFont): 12 1 13 2016-08-04 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp
r201979 r204154 127 127 // matches for non-fallback fonts might return 0. See isFallbackFontAllowed. 128 128 static AtomicString timesStr("serif"); 129 return *fontForFamily(fontDescription, timesStr); 129 if (RefPtr<Font> font = fontForFamily(fontDescription, timesStr)) 130 return *font; 131 132 // This could be reached due to improperly-installed or misconfigured fontconfig. 133 RELEASE_ASSERT_NOT_REACHED(); 130 134 } 131 135
Note:
See TracChangeset
for help on using the changeset viewer.