am f1f0c873: Fix bug in TextLayoutCacheKey handling embedded nulls.

* commit 'f1f0c873b1d119a19342cb67ca77b59607951659':
  Fix bug in TextLayoutCacheKey handling embedded nulls.
This commit is contained in:
Jeff Brown
2011-11-11 20:34:48 -08:00
committed by Android Git Automerger

View File

@@ -249,7 +249,7 @@ TextLayoutCacheKey::TextLayoutCacheKey(const TextLayoutCacheKey& other) :
flags(other.flags), flags(other.flags),
hinting(other.hinting) { hinting(other.hinting) {
if (other.text) { if (other.text) {
textCopy.setTo(other.text); textCopy.setTo(other.text, other.contextCount);
} }
} }