diff --git a/core/jni/android/graphics/TextLayoutCache.cpp b/core/jni/android/graphics/TextLayoutCache.cpp index 44ba68ed5200b..75251c9910ef9 100644 --- a/core/jni/android/graphics/TextLayoutCache.cpp +++ b/core/jni/android/graphics/TextLayoutCache.cpp @@ -176,7 +176,6 @@ sp 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