Skip to content

Commit 4b5441a

Browse files
Jeff BrownAndroid (Google) Code Review
authored andcommitted
Merge "TextLayoutCacheKey needs to store start and count."
2 parents dede707 + 7aac297 commit 4b5441a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/jni/android/graphics/TextLayoutCache.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ TextLayoutCacheKey::TextLayoutCacheKey(const SkPaint* paint,
239239
TextLayoutCacheKey::TextLayoutCacheKey(const TextLayoutCacheKey& other) :
240240
text(NULL),
241241
textCopy(other.textCopy),
242+
start(other.start),
243+
count(other.count),
242244
contextCount(other.contextCount),
243245
dirFlags(other.dirFlags),
244246
typeface(other.typeface),

0 commit comments

Comments
 (0)