diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 22:28:16 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 22:28:16 +0000 |
commit | 9a3a293b332de07fe81522061fadd8883789ec4a (patch) | |
tree | 39e2c276c3a7ef8668884bd02c590c8eccb51aa9 /chrome/common/child_thread.cc | |
parent | bb050c16657599d3cdee43c8d377ebcca0da64eb (diff) | |
download | chromium_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/common/child_thread.cc')
-rw-r--r-- | chrome/common/child_thread.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/child_thread.cc b/chrome/common/child_thread.cc index 94b3186..4c97b72 100644 --- a/chrome/common/child_thread.cc +++ b/chrome/common/child_thread.cc @@ -22,8 +22,9 @@ ChildThread::ChildThread(Thread::Options options) options_(options), check_with_browser_before_shutdown_(false) { DCHECK(owner_loop_); - channel_name_ = CommandLine::ForCurrentProcess()->GetSwitchValue( - switches::kProcessChannelID); + channel_name_ = WideToASCII( + CommandLine::ForCurrentProcess()->GetSwitchValue( + switches::kProcessChannelID)); if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserAgent)) { webkit_glue::SetUserAgent(WideToUTF8( |