commit | af675a084051af4b0fd90a66ddbc1373e3ddae8d | [log] [tgz] |
---|---|---|
author | jb <jb@opera.com> | Thu Oct 13 10:06:56 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Oct 13 10:09:28 2016 |
tree | 6a9029861ed1ad38ae7e2b0ea079f74ae5d2fe79 | |
parent | 50c7b3ce18404e7b0002b0a7a7fc325fb3e0854b [diff] |
Make HarfBuzzFace release SimpleFontData. HarfBuzzFace did a retained look up of SimpleFontData from the FontDataCache but never released the SimpleFontData. This caused the SimpleFontData to remain in the cache, indefinitely holding on to SkFontFaces and all associated data. This fix makes HarfBuzzFace release the SimpleFontData when deleted. BUG=617568 Review-Url: https://codereview.chromium.org/2411643002 Cr-Commit-Position: refs/heads/master@{#424993}