Have PlatformFontLinux Fallback to default
It is possible to font loading to fail. Such as when the peer closes during a synchronous mojo call to load a font. Currently this is treated as a fatal error, which leads to flaky tests. This change updates PlatformFontLinux to instead fallback to providing the default font in these cases. While logging the error. TEST=mash_browser_tests Bug: 738441 Change-Id: I2717a0fdf561be82e6d393863a0cfd13b19ae480 Reviewed-on: https://chromium-review.googlesource.com/568789Reviewed-by:Dan Erat <derat@chromium.org> Reviewed-by:
Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/master@{#486533}
Showing
Please register or sign in to comment