diff options
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index fc4513c..28d52b5 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -293,8 +293,8 @@ int BrowserMain(const MainFunctionParams& parameters) { // inherit and reset the user's setting. if (!local_state_file_exists && parsed_command_line.HasSwitch(switches::kParentProfile)) { - std::wstring parent_profile = - parsed_command_line.GetSwitchValue(switches::kParentProfile); + FilePath parent_profile = FilePath::FromWStringHack( + parsed_command_line.GetSwitchValue(switches::kParentProfile)); PrefService parent_local_state(parent_profile); parent_local_state.RegisterStringPref(prefs::kApplicationLocale, std::wstring()); |