diff options
author | 2011-02-03 15:06:05 -0800 | |
---|---|---|
committer | 2011-02-03 16:20:08 -0800 | |
commit | 2fc941e4650d618ff6e122f28b616d9032ffa134 (patch) | |
tree | c05148e4502efbb492d93e45386601eab522faa4 /libs/hwui/PathCache.cpp | |
parent | ef36255f876aa1a61dcf5e879f4380887dda3854 (diff) |
Fixes cache misses and extra allocations.
Bug #3421454
Change-Id: If4d5c960a7e4c581a9d213073e658284b4e1c497
Diffstat (limited to 'libs/hwui/PathCache.cpp')
-rw-r--r-- | libs/hwui/PathCache.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp index 28c302e68de8..0f22bea48009 100644 --- a/libs/hwui/PathCache.cpp +++ b/libs/hwui/PathCache.cpp @@ -65,7 +65,6 @@ void PathCache::clearGarbage() { PathTexture* PathCache::get(SkPath* path, SkPaint* paint) { PathCacheEntry entry(path, paint); - PathTexture* texture = mCache.get(entry); if (!texture) { |