Descriptioncountry_names.cc: change SetLocaleString to take const ref instead of value
Before the CL, SetLocaleString took a string by value and used std::move on it.
After a discussion on chromium-dev [1], passing 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
Committed: https://crrev.com/aee53e9e6fd6d2c4877e78255d5f4416891de56e
Cr-Commit-Position: refs/heads/master@{#371617}
Patch Set 1 #
Messages
Total messages: 14 (5 generated)
|