commit | 5c44d321d0d3b5a82b269b9cfc39027793f5104b | [log] [tgz] |
---|---|---|
author | deanm@chromium.org <deanm@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jun 19 08:57:16 2009 +0000 |
committer | deanm@chromium.org <deanm@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jun 19 08:57:16 2009 +0000 |
tree | 913aec5e598f629ab596a4ebe9d18e335bf21c66 | |
parent | a16cb97c89fedcd521aeaadfa94feddbcb6729b1 [diff] |
Make sure we have a non-null FreeType face before dereferencing it. This prevents a NULL pointer crash in generateFontMetrics with some fonts. Patch by Lei Zhang. Original Chromium bug: http://code.google.com/p/chromium/issues/detail?id=13007 Review URL: http://codereview.appspot.com/78056 git-svn-id: http://skia.googlecode.com/svn/trunk@224 2bbb7eff-a529-9590-31e7-b0007b416f81