Fixes cache misses and extra allocations.
Bug #3421454 Change-Id: If4d5c960a7e4c581a9d213073e658284b4e1c497
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user