Index: base/i18n/rtl.h |
diff --git a/base/i18n/rtl.h b/base/i18n/rtl.h |
index aa5f6810a9b0a8f38b9870fbc862ec8313ccfa29..9b9a0dcd31cdf4468a8150897a81ea6d0c9fe60d 100644 |
--- a/base/i18n/rtl.h |
+++ b/base/i18n/rtl.h |
@@ -40,7 +40,7 @@ enum TextDirection { |
BASE_I18N_EXPORT std::string GetConfiguredLocale(); |
// Canonicalize a string (eg. a POSIX locale string) to a Chrome locale name. |
-BASE_I18N_EXPORT std::string GetCanonicalLocale(const char* locale); |
+BASE_I18N_EXPORT std::string GetCanonicalLocale(const std::string& locale); |
// Sets the default locale of ICU. |
// Once the application locale of Chrome in GetApplicationLocale is determined, |