Index: chrome/test/ui/ui_layout_test.cc |
diff --git a/chrome/test/ui/ui_layout_test.cc b/chrome/test/ui/ui_layout_test.cc |
index 222358b278e5679b0ad41658e34623086aed889b..1322276b9c6a73ffe97ccd6b7bf29056a9eb051e 100644 |
--- a/chrome/test/ui/ui_layout_test.cc |
+++ b/chrome/test/ui/ui_layout_test.cc |
@@ -212,7 +212,7 @@ void UILayoutTest::RunLayoutTest(const std::string& test_case_file_name, |
scoped_ptr<GURL> new_test_url; |
if (port != kNoHttpPort) |
new_test_url.reset(new GURL( |
- StringPrintf("http://localhost:%d/", port) + |
+ StringPrintf("http://127.0.0.1:%d/", port) + |
url_path + "/" + test_case_file_name)); |
else |
new_test_url.reset(new GURL(net::FilePathToFileURL(new_test_file_path))); |