Index: components/autofill/core/browser/country_names.h |
diff --git a/components/autofill/core/browser/country_names.h b/components/autofill/core/browser/country_names.h |
index a0733522ccf494d455dcc347b6cd9691f3d795fe..c54f8f93a96c2d987cd3323fa67e816e0a63cbe6 100644 |
--- a/components/autofill/core/browser/country_names.h |
+++ b/components/autofill/core/browser/country_names.h |
@@ -33,7 +33,7 @@ class CountryNames { |
// Tells CountryNames, what is the application locale. Only the first supplied |
// value is used, further calls result in no changes. Call this on the UI |
// thread, before first using CountryNames. |locale| must not be empty. |
- static void SetLocaleString(std::string locale); |
+ static void SetLocaleString(const std::string& locale); |
// Returns the country code corresponding to |country|, which should be a |
// country code or country name localized to |locale_name|. |