DescriptionFontFamily SkTArrays can be moved.
The FontFamily type in SkFontConfigParser_android.h contains two fields
of type SkTArray. Both of these contain types which can be moved
instead of calling constructors and destructors on resize. This change
avoids a number of unneeded SkString refs and unrefs.
Committed: https://skia.googlesource.com/skia/+/b5d0ce6bd4fef192a9908562b5a01bc01683c7bb
Patch Set 1 #Patch Set 2 : Add comment. #Messages
Total messages: 8 (2 generated)
|