summaryrefslogtreecommitdiffstats
path: root/chrome/nacl/broker_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/nacl/broker_thread.cc')
-rw-r--r--chrome/nacl/broker_thread.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/nacl/broker_thread.cc b/chrome/nacl/broker_thread.cc
index 04bebda..b0cdba5 100644
--- a/chrome/nacl/broker_thread.cc
+++ b/chrome/nacl/broker_thread.cc
@@ -52,8 +52,9 @@ void NaClBrokerThread::OnLaunchLoaderThroughBroker(
cmd_line->AppendSwitchASCII(switches::kProcessType,
switches::kNaClLoaderProcess);
- cmd_line->AppendSwitchWithValue(switches::kProcessChannelID,
- loader_channel_id);
+ // TODO(evanm): remove needless usage of wstring for channel id.
+ cmd_line->AppendSwitchASCII(switches::kProcessChannelID,
+ WideToASCII(loader_channel_id));
loader_process = sandbox::StartProcessWithAccess(cmd_line, FilePath());
if (loader_process) {