| Index: chrome/browser/worker_host/worker_process_host.cc
|
| diff --git a/chrome/browser/worker_host/worker_process_host.cc b/chrome/browser/worker_host/worker_process_host.cc
|
| index 8b3ac2ddc532cdd5c50f71e29efae354c6203211..2c4cf7fb2f3f7c4d7e4e130e5a99ceb503bb8c3d 100644
|
| --- a/chrome/browser/worker_host/worker_process_host.cc
|
| +++ b/chrome/browser/worker_host/worker_process_host.cc
|
| @@ -143,16 +143,15 @@ bool WorkerProcessHost::Init() {
|
| if (value.empty() || value == switches::kWorkerProcess) {
|
| // launches a new xterm, and runs the worker process in gdb, reading
|
| // optional commands from gdb_chrome file in the working directory.
|
| - cmd_line->PrependWrapper(L"xterm -e gdb -x gdb_chrome --args");
|
| + cmd_line->PrependWrapper("xterm -e gdb -x gdb_chrome --args");
|
| }
|
| }
|
|
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kRendererCmdPrefix)) {
|
| - const std::wstring prefix =
|
| - CommandLine::ForCurrentProcess()->GetSwitchValue(
|
| - switches::kRendererCmdPrefix);
|
| - cmd_line->PrependWrapper(prefix);
|
| + cmd_line->PrependWrapper(
|
| + CommandLine::ForCurrentProcess()->GetSwitchValueNative(
|
| + switches::kRendererCmdPrefix));
|
| }
|
| #endif
|
|
|
|
|