diff --git a/core/jni/android/graphics/TextLayoutCache.cpp b/core/jni/android/graphics/TextLayoutCache.cpp index 662d9187ed902..4f90bbf3fdc8d 100644 --- a/core/jni/android/graphics/TextLayoutCache.cpp +++ b/core/jni/android/graphics/TextLayoutCache.cpp @@ -172,7 +172,6 @@ sp TextLayoutCache::getValue(SkPaint* paint, start, count, contextCount, size, mMaxSize - mSize, endTime, String8(text, count).string()); } - value.clear(); } } else { // This is a cache hit, just log timestamp and user infos