Simplify 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}
Showing
Please register or sign in to comment