DescriptionEnsure that conversions from/to 8bit and 16bit never return null string.
WTF::StringImpl::upconvertedString() relies on make16BitFrom8BitSource()
return a valid (non-null) string, on which releaseImpl() can be called.
The patch ensures that for zero length sources an empty string is
returned. The same logic is applied to make8BitFrom16BitSource().
R=abarth@chromium.org
BUG=409977
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181263
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|