Skip returning fallback font if SkFontMgr unavailable
Work around a crash reported in issue 1022968 occurring mostly on Windows 7 SP1 systems where SkFontMgr is unable to get instantiated. If that happens, do not attempt calling matchFamilyStyleCharacter() on a null SkFontMgr. Bug: 1022968 Change-Id: I5358fe982ba85c65285b965a816a16f94aa11287 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1911783Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/master@{#714461}
Showing
Please register or sign in to comment