A Path can exist in several cache entries.

Change-Id: I742f7425d2b6bef753ed3e04fb39ebb103b2dc00
This commit is contained in:
Romain Guy
2010-09-09 10:13:31 -07:00
parent 515d2c1e95
commit 183f17e7eb

View File

@@ -111,7 +111,6 @@ void PathCache::remove(SkPath* path) {
for (uint32_t i = 0; i < mCache.size(); i++) {
if (mCache.getKeyAt(i).path == path) {
mCache.removeAt(i);
return;
}
}
}