A Path can exist in several cache entries.
Change-Id: I742f7425d2b6bef753ed3e04fb39ebb103b2dc00
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user