diff options
| author | 2012-01-05 13:55:01 -0800 | |
|---|---|---|
| committer | 2012-01-05 13:55:01 -0800 | |
| commit | c726ff02c7749f134885decadd2ea86877119c3d (patch) | |
| tree | 8df0094df2bfb524f1efd549ee9f97e486946835 | |
| parent | d1a8229227f1e8b81a927ef694257dfe0707c985 (diff) | |
| parent | bd7cdc32eb30e779edeec3e0d1715376aae6c546 (diff) | |
Merge "Fix bug #5822825 Paint.measureText (char[] text, int index, int count) cannot handle text more than 32K long"
| -rw-r--r-- | core/jni/android/graphics/TextLayoutCache.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/jni/android/graphics/TextLayoutCache.cpp b/core/jni/android/graphics/TextLayoutCache.cpp index 44ba68ed5200..75251c9910ef 100644 --- a/core/jni/android/graphics/TextLayoutCache.cpp +++ b/core/jni/android/graphics/TextLayoutCache.cpp @@ -176,7 +176,6 @@ sp<TextLayoutCacheValue> TextLayoutCache::getValue(SkPaint* paint, value->getElapsedTime() * 0.000001f, String8(text + start, count).string()); } - value.clear(); } } else { // This is a cache hit, just log timestamp and user infos |