diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-30 22:35:33 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-30 22:35:33 +0000 |
commit | 0436fcd542e8ce436fe9395a64cc03fa369276b1 (patch) | |
tree | 089866b06c42ae4fa41b9d5b8a595c06603f3a57 /chrome/nacl | |
parent | a33cad2b626eef69aa54943c985f9ab030a8edb9 (diff) | |
download | chromium_src-0436fcd542e8ce436fe9395a64cc03fa369276b1.zip chromium_src-0436fcd542e8ce436fe9395a64cc03fa369276b1.tar.gz chromium_src-0436fcd542e8ce436fe9395a64cc03fa369276b1.tar.bz2 |
Remove deprecated CommandLine API.
Cleaned up the final few callers, punting the remaining harder ones
to TODOs.
Review URL: http://codereview.chromium.org/3043033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl')
-rw-r--r-- | chrome/nacl/broker_thread.cc | 5 |
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) { |