commit | e74fef3b55dc1b5daf40b3a6aea857582071560f | [log] [tgz] |
---|---|---|
author | Fabrice Di Meglio <fdimeglio@google.com> | Sun Sep 18 14:30:21 2011 -0700 |
committer | Fabrice Di Meglio <fdimeglio@google.com> | Sun Sep 18 14:30:21 2011 -0700 |
tree | 88821d1ae15b95eba320746ba36201159279087a | |
parent | 04e3bb6d32e73a5b7a74186e643458de467ac596 [diff] |
Fix potential leak in TextLayouCache - need a copy constructor for the key as the GenerationCache we are using is actually a KeyedVector<K, sp<Entry<K, V> > > - use the getText() API to access the text in the cache key Change-Id: I5b60ebc062b62308ed7ac1284cfe2a9f28e2b8b1