Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: chrome/browser/chrome_browser_main_mac.mm

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_browser_main_mac.mm
diff --git a/chrome/browser/chrome_browser_main_mac.mm b/chrome/browser/chrome_browser_main_mac.mm
index 8c46f78ab5208da3cf3e59700e1463aca7db7762..c8cff21c1ed215bb710e3fc8d614bec88f799d29 100644
--- a/chrome/browser/chrome_browser_main_mac.mm
+++ b/chrome/browser/chrome_browser_main_mac.mm
@@ -203,7 +203,7 @@ void ChromeBrowserMainPartsMac::PreMainMessageLoopStart() {
// TODO(markusheintz): Read preference pref::kApplicationLocale in order
// to enforce the application locale.
const std::string loaded_locale =
- ResourceBundle::InitSharedInstanceWithLocale(std::string(), NULL);
+ ResourceBundle::InitSharedInstanceWithLocale(std::string(), NULL, true);
CHECK(!loaded_locale.empty()) << "Default locale could not be found";
base::FilePath resources_pack_path;

Powered by Google App Engine
This is Rietveld 408576698