DescriptionDocument SkString::resize(int) as destructive.
It is easy to think in some cases that SkString::resize(int) is not
destructive, since optimizations mean that most of the time the data
is still there after a resize. However, in the general case, the
original string's data is lost and the new SkString contains garbage.
Committed: https://skia.googlesource.com/skia/+/b2885d59bccb1c5045e52135c5dd7a85a57694fa
Patch Set 1 #
Messages
Total messages: 10 (4 generated)
|