Attempted mitigation of font tables released early.
authorbungeman <bungeman@google.com>
Tue, 7 Apr 2015 14:34:36 +0000 (07:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Apr 2015 14:34:36 +0000 (07:34 -0700)
commite3bea5cc609a82411edd98b0a3f0b542f65ba67e
tree04647da7b4eb1253ee269800b4a0bfb12b346444
parent060a52c21065092154199fb7f51944339d602642
Attempted mitigation of font tables released early.

On Mac, it appears that sometimes fonts created from data have
their table data used after the table data copy is freed.
This appears to be most common with 'sbix' fonts for some reason,
so pin that table while in use.

Review URL: https://codereview.chromium.org/1061123002
src/ports/SkFontHost_mac.cpp