| Index: chrome/browser/browser_main.cc
|
| ===================================================================
|
| --- chrome/browser/browser_main.cc (revision 31829)
|
| +++ chrome/browser/browser_main.cc (working copy)
|
| @@ -442,8 +442,8 @@
|
| // inherit and reset the user's setting.
|
| if (!local_state_file_exists &&
|
| parsed_command_line.HasSwitch(switches::kParentProfile)) {
|
| - FilePath parent_profile = FilePath::FromWStringHack(
|
| - parsed_command_line.GetSwitchValue(switches::kParentProfile));
|
| + FilePath parent_profile =
|
| + parsed_command_line.GetSwitchValuePath(switches::kParentProfile);
|
| PrefService parent_local_state(parent_profile);
|
| parent_local_state.RegisterStringPref(prefs::kApplicationLocale,
|
| std::wstring());
|
|
|