Merge "Fix bug #5822825 Paint.measureText (char[] text, int index, int count) cannot handle text more than 32K long"

This commit is contained in:
Fabrice Di Meglio
2012-01-05 13:55:01 -08:00
committed by Android (Google) Code Review

View File

@@ -176,7 +176,6 @@ sp<TextLayoutCacheValue> 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