summaryrefslogtreecommitdiffstats
path: root/chrome/nacl
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/nacl')
-rw-r--r--chrome/nacl/broker_thread.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/nacl/broker_thread.cc b/chrome/nacl/broker_thread.cc
index a199c08..e3e6b03 100644
--- a/chrome/nacl/broker_thread.cc
+++ b/chrome/nacl/broker_thread.cc
@@ -49,11 +49,11 @@ void NaClBrokerThread::OnLaunchLoaderThroughBroker(
CommandLine* cmd_line = new CommandLine(exe_path);
nacl::CopyNaClCommandLineArguments(cmd_line);
- cmd_line->AppendSwitchWithValue(switches::kProcessType,
- switches::kNaClLoaderProcess);
+ cmd_line->AppendSwitchASCII(switches::kProcessType,
+ switches::kNaClLoaderProcess);
- cmd_line->AppendSwitchWithValue(switches::kProcessChannelID,
- loader_channel_id);
+ cmd_line->AppendSwitchASCII(switches::kProcessChannelID,
+ loader_channel_id);
loader_process = sandbox::StartProcessWithAccess(cmd_line, FilePath());
if (loader_process) {