Index: chrome/browser/browser_main.cc |
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc |
index d687acbba459efa31ecb6333ff2173a829c46591..dcf82460e2833132da71cc4a759af4f7e486f665 100644 |
--- a/chrome/browser/browser_main.cc |
+++ b/chrome/browser/browser_main.cc |
@@ -282,7 +282,8 @@ int BrowserMain(const MainFunctionParams& parameters) { |
parsed_command_line.HasSwitch(switches::kParentProfile)) { |
FilePath parent_profile = FilePath::FromWStringHack( |
parsed_command_line.GetSwitchValue(switches::kParentProfile)); |
- PrefService parent_local_state(parent_profile); |
+ PrefService parent_local_state(parent_profile, |
+ g_browser_process->file_thread()); |
parent_local_state.RegisterStringPref(prefs::kApplicationLocale, |
std::wstring()); |
// Right now, we only inherit the locale setting from the parent profile. |