diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 01:03:57 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 01:03:57 +0000 |
commit | 7a69c1461163ab03dac93b8459ac6f71c6df4a44 (patch) | |
tree | c574c310729bf1bc5933ebeda4e0aee498488733 /chrome/common/clipboard_service.h | |
parent | cdb0835bb3df4a9d1c7b8614af3e348bbba0107d (diff) | |
download | chromium_src-7a69c1461163ab03dac93b8459ac6f71c6df4a44.zip chromium_src-7a69c1461163ab03dac93b8459ac6f71c6df4a44.tar.gz chromium_src-7a69c1461163ab03dac93b8459ac6f71c6df4a44.tar.bz2 |
Fix crash if skia failed to find default font.
If system has various fonts, fontconfig will find several font family for
default font, but it might not be the best match in SkFontHost_fontconfig.cpp,
so SkTypeface::Create returns NULL.
Find font family in the same way as FontMatch in SkFontHost_fontconfig.cpp, so
that make sure the font available.
BUG=9654
patch by ukai@google.com: <http://codereview.chromium.org/56147>
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/clipboard_service.h')
0 files changed, 0 insertions, 0 deletions