DescriptionSimplify and optimize String::format.
base::vsnprintf already handles the windows difference so we don't need the
platform ifdefs. We can also optimistically format into the buffer and if it
fits avoid formatting twice.
Review-Url: https://codereview.chromium.org/2620453002
Cr-Commit-Position: refs/heads/master@{#442084}
Committed: https://chromium.googlesource.com/chromium/src/+/8b39bd3c54837ff1bf5890fdf47ee21cf9b39398
Patch Set 1 #Patch Set 2 : docs #
Messages
Total messages: 15 (9 generated)
|