summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/ui_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui/ui_test.cc')
-rw-r--r--chrome/test/ui/ui_test.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index 8bdf9b0..c4a37e2 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -306,11 +306,6 @@ static void RunCommand(const CommandLine& cmd_line) {
}
void UITest::StartHttpServer(const FilePath& root_directory) {
- StartHttpServerWithPort(root_directory, L"");
-}
-
-void UITest::StartHttpServerWithPort(const FilePath& root_directory,
- const std::wstring& port) {
scoped_ptr<CommandLine> cmd_line(CreateHttpServerCommandLine());
ASSERT_TRUE(cmd_line.get());
cmd_line->AppendSwitchWithValue("server", "start");
@@ -325,9 +320,6 @@ void UITest::StartHttpServerWithPort(const FilePath& root_directory,
cmd_line->AppendSwitch("run_background");
#endif
- if (!port.empty()) {
- cmd_line->AppendSwitchWithValue(L"port", port);
- }
RunCommand(*cmd_line.get());
}