Restore old behavior where "Sans" was used as fallback font
Restore old behavior where "Sans" was used as fallback font

https://codereview.chromium.org/31923005 changed the fallback font logic,
it was probably not intended since it merely moved code around.
This restores the logic so that "Sans" is always tried when looking for
a fallback family.

SkFontConfigInterface_direct.cpp looks for fallbacks among all
available fonts iff "Sans", "Serif", "Monospace" or "" is requested.
So it's important that at least one of those is tried.

This avoids crashing the renderer process if "Arial" is missing on
the system.

BUG=309714
AUTHOR=rogerj@opera.com
TBR=eae@chromium.org

Review URL: https://codereview.chromium.org/64243002

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@161534 bbb929c8-8fbe-4397-9dbb-9b2b20218538

XiaosongWei/blink-crosswalk,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,modulexcite/blink,kurli/blink-crosswalk,smishenk/blink-crosswalk,smishenk/blink-crosswalk,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,jtg-gg/blink,jtg-gg/blink,smishenk/blink-crosswalk,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,jtg-gg/blink,Bysmyyr/blink-crosswalk,kurli/blink-crosswalk,jtg-gg/blink,nwjs/blink,nwjs/blink,Bysmyyr/blink-crosswalk,PeterWangIntel/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,hgl888/blink-crosswalk-efl,ondra-novak/blink,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,XiaosongWei/blink-crosswalk,Bysmyyr/blink-crosswalk,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,ondra-novak/blink,crosswalk-project/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,Bysmyyr/blink-crosswalk,modulexcite/blink,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,ondra-novak/blink,Pluto-tv/blink-crosswalk,nwjs/blink,PeterWangIntel/blink-crosswalk,nwjs/blink,jtg-gg/blink,modulexcite/blink,PeterWangIntel/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,ondra-novak/blink,hgl888/blink-crosswalk-efl,nwjs/blink,PeterWangIntel/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,jtg-gg/blink,Pluto-tv/blink-crosswalk,modulexcite/blink,ondra-novak/blink,Bysmyyr/blink-crosswalk,nwjs/blink,jtg-gg/blink,nwjs/blink,crosswalk-project/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,jtg-gg/blink,Pluto-tv/blink-crosswalk,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,ondra-novak/blink,XiaosongWei/blink-crosswalk,modulexcite/blink,XiaosongWei/blink-crosswalk,PeterWangIntel/blink-crosswalk,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,modulexcite/blink,hgl888/blink-crosswalk-efl,modulexcite/blink,modulexcite/blink,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,modulexcite/blink,hgl888/blink-crosswalk-efl,ondra-novak/blink,hgl888/blink-crosswalk-efl,nwjs/blink,kurli/blink-crosswalk,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,nwjs/blink,hgl888/blink-crosswalk-efl,ondra-novak/blink,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,hgl888/blink-crosswalk-efl,jtg-gg/blink,Bysmyyr/blink-crosswalk,modulexcite/blink,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,jtg-gg/blink,crosswalk-project/blink-crosswalk-efl,smishenk/blink-crosswalk,nwjs/blink,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl