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

This commit is contained in:
Fabrice Di Meglio
2012-01-06 14:19:20 -08:00
committed by Android (Google) Code Review

View File

@@ -172,7 +172,6 @@ sp<TextLayoutCacheValue> TextLayoutCache::getValue(SkPaint* paint,
start, count, contextCount, size, mMaxSize - mSize, endTime, start, count, contextCount, size, mMaxSize - mSize, endTime,
String8(text, count).string()); String8(text, count).string());
} }
value.clear();
} }
} else { } else {
// This is a cache hit, just log timestamp and user infos // This is a cache hit, just log timestamp and user infos