Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Skia] Crash when failing to create a font with custom data
https://bugs.webkit.org/show_bug.cgi?id=271391 Reviewed by Adrian Perez de Castro. This happens for example with test fast/css/font-face-data-uri-invalid.html. SkFontMgr::makeFromData() fails to create the SkTypeface and returns nullptr that we don't check. * Source/WebCore/platform/graphics/skia/FontCustomPlatformDataSkia.cpp: (WebCore::FontCustomPlatformData::create): Canonical link: https://commits.webkit.org/276473@main
- Loading branch information