Skip to content

Commit c1d03cf

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug #5822825 Paint.measureText (char[] text, int index, int count) cannot handle text more than 32K long - DO NOT MERGE" into ics-mr1
2 parents beb8be6 + a0a117b commit c1d03cf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/jni/android/graphics/TextLayoutCache.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ sp<TextLayoutCacheValue> TextLayoutCache::getValue(SkPaint* paint,
172172
start, count, contextCount, size, mMaxSize - mSize, endTime,
173173
String8(text, count).string());
174174
}
175-
value.clear();
176175
}
177176
} else {
178177
// This is a cache hit, just log timestamp and user infos

0 commit comments

Comments
 (0)