summaryrefslogtreecommitdiff
path: root/libs/hwui/TextDropShadowCache.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2013-02-13 19:47:24 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-02-13 19:47:24 +0000
commitbf5703e52e3304246cbf0e73f6976f7d7312d238 (patch)
tree81ef6382317512aa2c068e99b35477ca61449b60 /libs/hwui/TextDropShadowCache.cpp
parent3f76e65d251ead65fe8ff98e3bd4c7623fbaac07 (diff)
Revert "Use RenderScript for large text blurs"
This reverts commit 3f76e65d251ead65fe8ff98e3bd4c7623fbaac07 Change-Id: Ia81cd485e5ca696bb284c419dc8a1d2f3247100e
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
-rw-r--r--libs/hwui/TextDropShadowCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/TextDropShadowCache.cpp b/libs/hwui/TextDropShadowCache.cpp
index db7bd489b404..9c7a5ab3d077 100644
--- a/libs/hwui/TextDropShadowCache.cpp
+++ b/libs/hwui/TextDropShadowCache.cpp
@@ -222,7 +222,7 @@ ShadowTexture* TextDropShadowCache::get(SkPaint* paint, const char* text, uint32
}
// Cleanup shadow
- delete shadow.image;
+ delete[] shadow.image;
}
return texture;