DescriptionUse SkTArray instead of SkSTArray in movable.
SkTArray is trivially movable, but SkSTArray is not, since it may
contain an internal pointer. FontFileInfo is supposed to be
trivially movable but currently isn't due to containing an SkSTArray.
Removing this particular optimization should not affect performance
much as this type is only used for parsing and does not allocate any
memory unless a variation axis is actually specified.
Committed: https://skia.googlesource.com/skia/+/a9f1db7902227143f97e4e29c1eefcd690f6aced
Patch Set 1 #
Total comments: 1
Messages
Total messages: 10 (4 generated)
|