diff --git a/core/jni/android/graphics/TextLayoutCache.cpp b/core/jni/android/graphics/TextLayoutCache.cpp index ed6aaa1ea4bb0..92be8e707dcd3 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