commit | 3f846ae913f0e01eedf889fff062e9a1dc9f4f8b | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Tue Nov 03 11:07:20 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Nov 03 11:07:20 2015 -0800 |
tree | c8c15293c44a9774911e3e78b5641a7b0e74b4e7 | |
parent | 0c2999974d189ea257f82c9b7672d9afda52f6c2 [diff] |
Take mutex when calling into FreeType. SkScalerContext_FreeType::generateCharToGlyph and generateGlyphToChar do not take a mutex when calling into FreeType, but they need to. The setupSize method also requires the mutex to be locked, which is not a problem since it currently always is, but add a debug assert to ensure that it continues to be. BUG=chromium:542640 Review URL: https://codereview.chromium.org/1431683006