Index: net/server/http_server_unittest.cc |
diff --git a/net/server/http_server_unittest.cc b/net/server/http_server_unittest.cc |
index 8830e3f48f40ae55330ac648884761ec5c5da70d..170a7203d5e651c580a22d0aa3d1f6189aff359b 100644 |
--- a/net/server/http_server_unittest.cc |
+++ b/net/server/http_server_unittest.cc |
@@ -297,7 +297,7 @@ TEST_F(HttpServerTest, RequestWithHeaders) { |
ASSERT_EQ("", GetRequest(0).data); |
for (size_t i = 0; i < arraysize(kHeaders); ++i) { |
- std::string field = base::StringToLowerASCII(std::string(kHeaders[i][0])); |
+ std::string field = base::ToLowerASCII(std::string(kHeaders[i][0])); |
std::string value = kHeaders[i][2]; |
ASSERT_EQ(1u, GetRequest(0).headers.count(field)) << field; |
ASSERT_EQ(value, GetRequest(0).headers[field]) << kHeaders[i][0]; |
@@ -325,7 +325,7 @@ TEST_F(HttpServerTest, RequestWithDuplicateHeaders) { |
ASSERT_EQ("", GetRequest(0).data); |
for (size_t i = 0; i < arraysize(kHeaders); ++i) { |
- std::string field = base::StringToLowerASCII(std::string(kHeaders[i][0])); |
+ std::string field = base::ToLowerASCII(std::string(kHeaders[i][0])); |
std::string value = (field == "duplicateheader") ? "2,4" : kHeaders[i][2]; |
ASSERT_EQ(1u, GetRequest(0).headers.count(field)) << field; |
ASSERT_EQ(value, GetRequest(0).headers[field]) << kHeaders[i][0]; |