| Index: chrome/browser/renderer_host/browser_render_process_host.cc
|
| diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
|
| index bcd8c2bacc24c44f2ba3361812778e730012e632..2bc5af85d2e14d95c7187179482db886b52a36ac 100644
|
| --- a/chrome/browser/renderer_host/browser_render_process_host.cc
|
| +++ b/chrome/browser/renderer_host/browser_render_process_host.cc
|
| @@ -274,19 +274,19 @@ bool BrowserRenderProcessHost::Init(bool is_extensions_process,
|
| widget_helper_,
|
| request_context);
|
|
|
| - std::wstring renderer_prefix;
|
| + CommandLine::StringType renderer_prefix;
|
| #if defined(OS_POSIX)
|
| // A command prefix is something prepended to the command line of the spawned
|
| // process. It is supported only on POSIX systems.
|
| const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
|
| renderer_prefix =
|
| - browser_command_line.GetSwitchValue(switches::kRendererCmdPrefix);
|
| + browser_command_line.GetSwitchValueNative(switches::kRendererCmdPrefix);
|
| #endif // defined(OS_POSIX)
|
|
|
| // Find the renderer before creating the channel so if this fails early we
|
| // return without creating the channel.
|
| - FilePath renderer_path = ChildProcessHost::GetChildPath(
|
| - renderer_prefix.empty());
|
| + FilePath renderer_path =
|
| + ChildProcessHost::GetChildPath(renderer_prefix.empty());
|
| if (renderer_path.empty())
|
| return false;
|
|
|
|
|