Skip to content

Commit 6f0464e

Browse files
Jeff BrownAndroid Git Automerger
authored andcommitted
am f1f0c87: Fix bug in TextLayoutCacheKey handling embedded nulls.
* commit 'f1f0c873b1d119a19342cb67ca77b59607951659': Fix bug in TextLayoutCacheKey handling embedded nulls.
2 parents 771d0c9 + f1f0c87 commit 6f0464e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jni/android/graphics/TextLayoutCache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ TextLayoutCacheKey::TextLayoutCacheKey(const TextLayoutCacheKey& other) :
249249
flags(other.flags),
250250
hinting(other.hinting) {
251251
if (other.text) {
252-
textCopy.setTo(other.text);
252+
textCopy.setTo(other.text, other.contextCount);
253253
}
254254
}
255255

0 commit comments

Comments
 (0)