Index: chrome/test/base/in_process_browser_test.cc |
=================================================================== |
--- chrome/test/base/in_process_browser_test.cc (revision 148205) |
+++ chrome/test/base/in_process_browser_test.cc (working copy) |
@@ -78,11 +78,7 @@ |
chrome_path = chrome_path.Append(chrome::kBrowserProcessExecutablePath); |
CHECK(PathService::Override(base::FILE_EXE, chrome_path)); |
#endif // defined(OS_MACOSX) |
- |
- test_server_.reset(new net::TestServer( |
- net::TestServer::TYPE_HTTP, |
- net::TestServer::kLocalhost, |
- FilePath(FILE_PATH_LITERAL("chrome/test/data")))); |
+ CreateTestServer("chrome/test/data"); |
} |
InProcessBrowserTest::~InProcessBrowserTest() { |
@@ -156,8 +152,6 @@ |
// Propagate commandline settings from test_launcher_utils. |
test_launcher_utils::PrepareBrowserCommandLineForTests(command_line); |
- command_line->AppendSwitch(switches::kDomAutomationController); |
- |
// This is a Browser test. |
command_line->AppendSwitchASCII(switches::kTestType, kBrowserTestType); |