Chromium Code Reviews| Index: chrome_frame/test/net/process_singleton_subclass.cc |
| diff --git a/chrome_frame/test/net/process_singleton_subclass.cc b/chrome_frame/test/net/process_singleton_subclass.cc |
| index 2046e0b59ff865c91dae42beb0cd6ddee6ff707f..81e68e4af0e18c001d6d53db0cbf8b29f74dec9b 100644 |
| --- a/chrome_frame/test/net/process_singleton_subclass.cc |
| +++ b/chrome_frame/test/net/process_singleton_subclass.cc |
| @@ -100,8 +100,9 @@ LRESULT ProcessSingletonSubclass::OnCopyData(HWND hwnd, HWND from_hwnd, |
| std::wstring cmd_line(begin, static_cast<size_t>(end - begin)); |
| CommandLine parsed_command_line = CommandLine::FromString(cmd_line); |
| - std::string channel_id(WideToASCII(parsed_command_line.GetSwitchValue( |
| - switches::kAutomationClientChannelID))); |
| + std::string channel_id = |
| + parsed_command_line.GetSwitchValueASCII( |
| + switches::kAutomationClientChannelID); |
|
tony
2010/08/06 00:09:38
Nit: This can probably fit on 2 lines.
|
| EXPECT_FALSE(channel_id.empty()); |
| delegate_->OnConnectAutomationProviderToChannel(channel_id); |