Make sure getFallbackFamily() always sets *scriptChecked.
This avoids an uninitialized read in FontCache::fallbackFontForCharacter(), which assumes the script is set. Found by DrMemory in http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Content%20Browser%20%28DrMemory%20full%29%20%284%29/builds/5885/steps/memory%20test%3A%20content_browsertests/logs/stdio. Review URL: https://codereview.chromium.org/1327143002 git-svn-id: svn://svn.chromium.org/blink/trunk@202009 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment