summaryrefslogtreecommitdiffstats
path: root/site_scons
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 22:28:46 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 22:28:46 +0000
commit0b847e38433afef0b207c85ae593d39501696aad (patch)
treec6342497e3086e2661a753011bfe234d51ec985d /site_scons
parent514411fcb4657f575eeb3e39a9056478a28306a0 (diff)
downloadchromium_src-0b847e38433afef0b207c85ae593d39501696aad.zip
chromium_src-0b847e38433afef0b207c85ae593d39501696aad.tar.gz
chromium_src-0b847e38433afef0b207c85ae593d39501696aad.tar.bz2
Fix 'oops' in FontUtilsChromiumWin.cpp that was causing some layout tests to
crash. I failed to handle USCRIPT_INVALID_CODE as an input to GetFontFamilyForScript. That constant has a value of -1 which caused my array indexing to be unhappy. I also corrected the 'initialized' flag to be a static so that we would not waste cycles calling InitailizeScriptFontMap over-and-over again. Yikes! R=ojan Review URL: http://codereview.chromium.org/13722 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'site_scons')
0 files changed, 0 insertions, 0 deletions