DescriptionRequire length in sk_wchar_to_string.
This information is already available at all call sites and allows
the call to WideCharToMultiByte to not overwrite the '\0' in the
writable_str() which isn't really writable.
BUG=skia:1989
Committed: https://skia.googlesource.com/skia/+/5e7b4f967b37cc303a20b87617446605f26f1867
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add comment. #
Messages
Total messages: 6 (0 generated)
|