Index: chrome_frame/chrome_launcher_unittest.cc |
diff --git a/chrome_frame/chrome_launcher_unittest.cc b/chrome_frame/chrome_launcher_unittest.cc |
index caa02c0850790b2521bedea12e87cdda03f700ca..f1645a4a916ee2f8ac304b4f1702dbf85354255e 100644 |
--- a/chrome_frame/chrome_launcher_unittest.cc |
+++ b/chrome_frame/chrome_launcher_unittest.cc |
@@ -15,22 +15,22 @@ TEST(ChromeLauncher, IsValidCommandLine) { |
bad.AppendSwitch(switches::kHomePage); // exists but not in whitelist |
EXPECT_FALSE(chrome_launcher::IsValidCommandLine( |
- bad.command_line_string().c_str())); |
+ bad.GetCommandLineString().c_str())); |
CommandLine good(FilePath(L"dummy.exe")); |
good.AppendSwitch(switches::kNoFirstRun); // in whitelist |
good.AppendSwitchASCII(switches::kUserDataDir, "foo"); // in whitelist |
EXPECT_TRUE(chrome_launcher::IsValidCommandLine( |
- good.command_line_string().c_str())); |
+ good.GetCommandLineString().c_str())); |
CommandLine no_params(FilePath(L"dummy.exe")); |
EXPECT_TRUE(chrome_launcher::IsValidCommandLine( |
- no_params.command_line_string().c_str())); |
+ no_params.GetCommandLineString().c_str())); |
CommandLine empty(FilePath(L"")); |
EXPECT_TRUE(chrome_launcher::IsValidCommandLine( |
- empty.command_line_string().c_str())); |
+ empty.GetCommandLineString().c_str())); |
} |
TEST(ChromeLauncher, TrimWhiteSpace) { |