summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_service.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 01:03:57 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 01:03:57 +0000
commit7a69c1461163ab03dac93b8459ac6f71c6df4a44 (patch)
treec574c310729bf1bc5933ebeda4e0aee498488733 /chrome/common/pref_service.cc
parentcdb0835bb3df4a9d1c7b8614af3e348bbba0107d (diff)
downloadchromium_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/pref_service.cc')
0 files changed, 0 insertions, 0 deletions