DescriptionStore WideString, not raw pointer, in FX_TXTRUN
Storing raw pointers in structs is a questionable idea, given
that we've got string classes to auto-manage lifetimes of the
underlying storage.
Also, return FX_TXTRUN while we're at it, since we count on RVO
removing copies nowadays.
BUG=pdfium:480
Committed: https://pdfium.googlesource.com/pdfium/+/d403329fa818ffd650221cee366c837f867e3df6
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|