Index: chrome/browser/browser_main.cc |
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc |
index af6098a4ea0af59031327946dacd718409dce845..265fec123074ab1f90c5c1def8ee633cd4793602 100644 |
--- a/chrome/browser/browser_main.cc |
+++ b/chrome/browser/browser_main.cc |
@@ -812,6 +812,8 @@ int BrowserMain(const MainFunctionParams& parameters) { |
#if defined(OS_MACOSX) |
g_browser_process->SetApplicationLocale(l10n_util::GetLocaleOverride()); |
#else |
+ // On a POSIX OS other than ChromeOS, the parameter that is passed to the |
+ // method InitSharedInstance is ignored. |
std::string app_locale = ResourceBundle::InitSharedInstance( |
ASCIIToWide(local_state->GetString(prefs::kApplicationLocale))); |
g_browser_process->SetApplicationLocale(app_locale); |