Chromium Code Reviews

Unified Diff: chrome/browser/ui/startup/bad_flags_prompt.cc

Issue 457103003: Merge ResourceBundle's InitSharedInstanceLocaleOnly with InitSharedInstanceWithLocale(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/startup/bad_flags_prompt.cc
diff --git a/chrome/browser/ui/startup/bad_flags_prompt.cc b/chrome/browser/ui/startup/bad_flags_prompt.cc
index e3161d71d1d4f8a9dfe37f3499f2b7ed56081f3f..720dbc664b0fc86fb3465f4e3ce256b6a0261e47 100644
--- a/chrome/browser/ui/startup/bad_flags_prompt.cc
+++ b/chrome/browser/ui/startup/bad_flags_prompt.cc
@@ -106,7 +106,7 @@ void MaybeShowInvalidUserDataDirWarningDialog() {
const char kUserDataDirDialogFallbackLocale[] = "en-US";
if (locale.empty())
locale = kUserDataDirDialogFallbackLocale;
- ResourceBundle::InitSharedInstanceWithLocale(locale, NULL);
+ ResourceBundle::InitSharedInstanceWithLocale(locale, NULL, true);
}
const base::string16& title =

Powered by Google App Engine