summaryrefslogtreecommitdiffstats
path: root/sample/MinikinSkia.h
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2016-04-07 12:20:12 -0700
committerRaph Levien <raph@google.com>2016-04-07 13:43:15 -0700
commit9afcc6e2bd4d89e4e1deb6e18c3c4daca4e114fd (patch)
tree09e961b82c26cc1b76b2f1a613b788ad7635d983 /sample/MinikinSkia.h
parentf3afe92def0fff022889fd036d68451223aac146 (diff)
downloadandroid_frameworks_minikin-9afcc6e2bd4d89e4e1deb6e18c3c4daca4e114fd.tar.gz
android_frameworks_minikin-9afcc6e2bd4d89e4e1deb6e18c3c4daca4e114fd.tar.bz2
android_frameworks_minikin-9afcc6e2bd4d89e4e1deb6e18c3c4daca4e114fd.zip
Purge hb font on Minikin font destruction
This patch eagerly purges the corresponding hb_font_t object from the HbFontCache when the underlying MinikinFont is destroyed. After that, the key will no longer be accessed, so having the entry is wastes memory. Bug: 27251075 Bug: 27860101 Change-Id: I1b98016133fe3baf6525ac37d970a65ddccadb4f
Diffstat (limited to 'sample/MinikinSkia.h')
0 files changed, 0 insertions, 0 deletions