From 2fc941e4650d618ff6e122f28b616d9032ffa134 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 3 Feb 2011 15:06:05 -0800 Subject: Fixes cache misses and extra allocations. Bug #3421454 Change-Id: If4d5c960a7e4c581a9d213073e658284b4e1c497 --- libs/hwui/PathCache.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'libs/hwui/PathCache.cpp') 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) { -- cgit v1.2.3-59-g8ed1b