FileAPI: swap std::string fill constructor arguments.
The constructor's argument order was flipped. Please see the "fill(6)" constructor for more info: http://www.cplusplus.com/reference/string/string/string/ Previously, this would cast 'X' to a size_t, and buf_len to a char. Tbr: fukino Change-Id: I69b71753338cde2810b6ed0b940650d683f0c20c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2432748 Commit-Queue: Noel Gordon <noel@chromium.org> Auto-Submit: Darwin Huang <huangdarwin@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#810949}
Showing
Please register or sign in to comment