Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use base::StringTokenizer::token_piece() when std::string is not needed.
base::StringTokenizer::token() creates a new std::string each time. Many callers do not even need a std::string, so just update them to use token_piece() instead. This CL was uploaded by git cl split. R=ellyjones@chromium.org Bug: 1199547 Change-Id: I6d17089d3e68268914f4cff963be7055989863e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2832869 Auto-Submit: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#873965}
- Loading branch information