Added restricted font fallback to custom font collection loader.
After few experiments/crashes it seems that some users have enormous number of fonts in the registry. On suspect that we have for failing to load collection is that direct write cache is unable to load/handle those many fonts. In this CL we are trying to see if we can put arbitrary limit on number of fonts that could be loaded. We also added a fallback mechanism where in if loading from registry fails, we will try to load only default fonts. Definition of 'default' is taken from file prefs_tab_helper.cc ~ kDefaultFonts. R=ananta,scottmg,cpu BUG=399233 Review URL: https://codereview.chromium.org/521483002 Cr-Commit-Position: refs/heads/master@{#292573}
Showing
Please register or sign in to comment