diff options
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( |