| Index: chrome/browser/renderer_host/browser_render_process_host.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/browser_render_process_host.cc (revision 31117)
|
| +++ chrome/browser/renderer_host/browser_render_process_host.cc (working copy)
|
| @@ -455,7 +455,7 @@
|
| FieldTrialList::StatesToString(&field_trial_states);
|
| if (!field_trial_states.empty()) {
|
| command_line->AppendSwitchWithValue(switches::kForceFieldTestNameAndValue,
|
| - ASCIIToWide(field_trial_states));
|
| + field_trial_states);
|
| }
|
|
|
| // A command prefix is something prepended to the command line of the spawned
|
| @@ -475,8 +475,8 @@
|
|
|
| ChildProcessHost::SetCrashReporterCommandLine(command_line);
|
|
|
| - const std::wstring& profile_path =
|
| - browser_command_line.GetSwitchValue(switches::kUserDataDir);
|
| + const std::string& profile_path =
|
| + browser_command_line.GetSwitchValueASCII(switches::kUserDataDir);
|
| if (!profile_path.empty())
|
| command_line->AppendSwitchWithValue(switches::kUserDataDir, profile_path);
|
| }
|
| @@ -541,7 +541,7 @@
|
| for (size_t i = 0; i < arraysize(switch_names); ++i) {
|
| if (browser_cmd.HasSwitch(switch_names[i])) {
|
| renderer_cmd->AppendSwitchWithValue(switch_names[i],
|
| - browser_cmd.GetSwitchValue(switch_names[i]));
|
| + browser_cmd.GetSwitchValueASCII(switch_names[i]));
|
| }
|
| }
|
| }
|
|
|