| commit | 13ba4e478d19001ddb6828bd1fd8fbc1e0cb208f | [log] [tgz] |
|---|---|---|
| author | Raph Levien <raph@google.com> | Wed Sep 12 15:15:51 2012 -0700 |
| committer | Raph Levien <raph@google.com> | Wed Sep 12 15:15:51 2012 -0700 |
| tree | 3db57dae3eaa11dd36f4c30be0044cb74056a091 | |
| parent | 753e1280cbc3f0006b04f67385f02e1f92019f7d [diff] |
Fix for b7155617 race condition in TextLayoutCache.cpp There was the possibility for a race between clearing the caches and using fonts. This patch simply protects both under the same mLock held by the TextLayoutCache object. Change-Id: Ib366e16a9a9ba702a46bc078d1bc0602713991e5