summaryrefslogtreecommitdiffstats
path: root/sync/test/fake_server/unique_client_entity.h
diff options
context:
space:
mode:
authorksakamoto <ksakamoto@chromium.org>2015-12-21 19:10:06 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-22 03:10:47 +0000
commit5af9dfc5f6ed2163b13d8c20d679bdb44c783769 (patch)
tree55848e716cd4333179d744331a93ed4eff838290 /sync/test/fake_server/unique_client_entity.h
parent87d90cdbe856bf50c370f4f2c09da4ae2f291819 (diff)
downloadchromium_src-5af9dfc5f6ed2163b13d8c20d679bdb44c783769.zip
chromium_src-5af9dfc5f6ed2163b13d8c20d679bdb44c783769.tar.gz
chromium_src-5af9dfc5f6ed2163b13d8c20d679bdb44c783769.tar.bz2
Always use user preference font before system fallback
Before this patch, FontFallbackList::getFontData() returned user's preferred standard font only if it couldn't find any FontData in the family list. otherwise, per-character system fallback was used. This patch makes getFontData() always return preference font when it reached the end of family list, so that preference font comes one step before going to system fallback. This fixes the bug where webfont fallback while loading and after load failure were inconsistent. BUG=299010, 545778 TEST=http/tests/webfont/fallback-font-while-loading.html Review URL: https://codereview.chromium.org/1483543002 Cr-Commit-Position: refs/heads/master@{#366532}
Diffstat (limited to 'sync/test/fake_server/unique_client_entity.h')
0 files changed, 0 insertions, 0 deletions