summaryrefslogtreecommitdiff
path: root/libs/hwui/PathCache.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2013-01-08 15:26:45 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2013-01-08 15:26:45 -0800
commitc88c60bed1fdf5b84cc16905c8743453203c19a5 (patch)
tree058d8741e5f239a519427ffde5cb819c282e7439 /libs/hwui/PathCache.cpp
parentc34bc1178b3d5e60651e4b1ffb416ff8235bf388 (diff)
parente3a9b24b5e3f9b2058486814a6d27729e51ad466 (diff)
Merge "Add plumbing for better text scaling"
Diffstat (limited to 'libs/hwui/PathCache.cpp')
-rw-r--r--libs/hwui/PathCache.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp
index 03ddf597b33a..4f682ed09328 100644
--- a/libs/hwui/PathCache.cpp
+++ b/libs/hwui/PathCache.cpp
@@ -93,9 +93,6 @@ PathTexture* PathCache::get(SkPath* path, SkPaint* paint) {
PathCacheEntry entry(path, paint);
PathTexture* texture = mCache.get(entry);
- float left, top, offset;
- uint32_t width, height;
-
if (!texture) {
texture = addTexture(entry, path, paint);
} else if (path->getGenerationID() != texture->generation) {