diff options
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_main_uitest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/app/chrome_main_uitest.cc b/chrome/app/chrome_main_uitest.cc index 48ef39e..ab79407f 100644 --- a/chrome/app/chrome_main_uitest.cc +++ b/chrome/app/chrome_main_uitest.cc @@ -44,7 +44,8 @@ TEST_F(ChromeMainTest, SecondLaunch) { include_testing_id_ = false; use_existing_browser_ = true; - ASSERT_TRUE(LaunchAnotherBrowserBlockUntilClosed(CommandLine(L""))); + ASSERT_TRUE(LaunchAnotherBrowserBlockUntilClosed( + CommandLine(CommandLine::ARGUMENTS_ONLY))); ASSERT_TRUE(automation()->WaitForWindowCountToBecome(2, action_timeout_ms())); } @@ -55,9 +56,8 @@ TEST_F(ChromeMainTest, ReuseBrowserInstanceWhenOpeningFile) { FilePath test_file = test_data_directory_.AppendASCII("empty.html"); - CommandLine command_line(L""); + CommandLine command_line(CommandLine::ARGUMENTS_ONLY); command_line.AppendLooseValue(test_file.ToWStringHack()); - ASSERT_TRUE(LaunchAnotherBrowserBlockUntilClosed(command_line)); ASSERT_TRUE(automation()->IsURLDisplayed(net::FilePathToFileURL(test_file))); |