Index: chrome/common/child_thread.cc |
diff --git a/chrome/common/child_thread.cc b/chrome/common/child_thread.cc |
index 43da09a220ed4dc237f52f218223bf91156b20dd..48358f149eef7ea021e84ed0d856c4dc81b7a764 100644 |
--- a/chrome/common/child_thread.cc |
+++ b/chrome/common/child_thread.cc |
@@ -17,9 +17,8 @@ |
ChildThread::ChildThread() { |
- channel_name_ = WideToASCII( |
- CommandLine::ForCurrentProcess()->GetSwitchValue( |
- switches::kProcessChannelID)); |
+ channel_name_ = CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
+ switches::kProcessChannelID); |
Init(); |
} |
@@ -32,9 +31,9 @@ void ChildThread::Init() { |
check_with_browser_before_shutdown_ = false; |
message_loop_ = MessageLoop::current(); |
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserAgent)) { |
- webkit_glue::SetUserAgent(WideToUTF8( |
- CommandLine::ForCurrentProcess()->GetSwitchValue( |
- switches::kUserAgent))); |
+ webkit_glue::SetUserAgent( |
+ CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
+ switches::kUserAgent)); |
} |
channel_.reset(new IPC::SyncChannel(channel_name_, |