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 2206a7490e83e6d69ea380994ae550c68f9fda4b..91a3befc673019022065863b25d43fc9590846c5 100644 |
--- a/chrome_frame/test/net/process_singleton_subclass.cc |
+++ b/chrome_frame/test/net/process_singleton_subclass.cc |
@@ -99,8 +99,7 @@ LRESULT ProcessSingletonSubclass::OnCopyData(HWND hwnd, HWND from_hwnd, |
// Get command line. |
std::wstring cmd_line(begin, static_cast<size_t>(end - begin)); |
- CommandLine parsed_command_line(L""); |
- parsed_command_line.ParseFromString(cmd_line); |
+ CommandLine parsed_command_line = CommandLine::FromString(cmd_line); |
std::string channel_id(WideToASCII(parsed_command_line.GetSwitchValue( |
switches::kAutomationClientChannelID))); |
EXPECT_FALSE(channel_id.empty()); |