summaryrefslogtreecommitdiff
path: root/libs/hwui/PathCache.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-09-09 10:13:31 -0700
committer Romain Guy <romainguy@google.com> 2010-09-09 10:13:31 -0700
commit183f17e7eb2f51be24489e7b1bd3e2e5e4bc579a (patch)
tree2b440bfa288bf50edfcd108c08833cd3fae295e5 /libs/hwui/PathCache.cpp
parent515d2c1e95a95aa4502e318762d149adff57b6d3 (diff)
A Path can exist in several cache entries.
Change-Id: I742f7425d2b6bef753ed3e04fb39ebb103b2dc00
Diffstat (limited to 'libs/hwui/PathCache.cpp')
-rw-r--r--libs/hwui/PathCache.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp
index e8afe37d98cf..70e06a1c3f79 100644
--- a/libs/hwui/PathCache.cpp
+++ b/libs/hwui/PathCache.cpp
@@ -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;
}
}
}