summaryrefslogtreecommitdiffstats
path: root/chrome/browser/utility_process_host.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 22:28:16 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 22:28:16 +0000
commit9a3a293b332de07fe81522061fadd8883789ec4a (patch)
tree39e2c276c3a7ef8668884bd02c590c8eccb51aa9 /chrome/browser/utility_process_host.cc
parentbb050c16657599d3cdee43c8d377ebcca0da64eb (diff)
downloadchromium_src-9a3a293b332de07fe81522061fadd8883789ec4a.zip
chromium_src-9a3a293b332de07fe81522061fadd8883789ec4a.tar.gz
chromium_src-9a3a293b332de07fe81522061fadd8883789ec4a.tar.bz2
ipc: use strings, not wstrings for channel ids.
They're ASCII anyway. TEST=covered by existing tests Review URL: http://codereview.chromium.org/119131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17682 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/utility_process_host.cc')
-rw-r--r--chrome/browser/utility_process_host.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/utility_process_host.cc b/chrome/browser/utility_process_host.cc
index 4c3d83b..2be419e 100644
--- a/chrome/browser/utility_process_host.cc
+++ b/chrome/browser/utility_process_host.cc
@@ -48,7 +48,8 @@ bool UtilityProcessHost::StartProcess(const FilePath& exposed_dir) {
CommandLine cmd_line(exe_path);
cmd_line.AppendSwitchWithValue(switches::kProcessType,
switches::kUtilityProcess);
- cmd_line.AppendSwitchWithValue(switches::kProcessChannelID, channel_id());
+ cmd_line.AppendSwitchWithValue(switches::kProcessChannelID,
+ ASCIIToWide(channel_id()));
base::ProcessHandle process;
#if defined(OS_WIN)