country_names.cc: SetLocaleString takes const ref
SetLocaleString took a string by value and used std::move on it. After a discussion on chromium-dev [1], pasing a const ref was recognised as the preferred style in Chromium, so this CL changes it. [1] https://groups.google.com/a/chromium.org/forum/#!searchin/chromium-dev/string$20const$20ref/chromium-dev/ZoAfW7GXUVI/fCYjkg2JBAAJ BUG=571610 R=isherman@chromium.org Review URL: https://codereview.chromium.org/1635813003 Cr-Commit-Position: refs/heads/master@{#371617}
Showing
Please register or sign in to comment