| Index: net/test/embedded_test_server/http_request.cc
|
| diff --git a/net/test/embedded_test_server/http_request.cc b/net/test/embedded_test_server/http_request.cc
|
| index 26cb49ed2a9c44d7ff205601c87ad5c0d0b6c58f..9e0c80f96fa092aa2ce05dee5975ba9c68734625 100644
|
| --- a/net/test/embedded_test_server/http_request.cc
|
| +++ b/net/test/embedded_test_server/http_request.cc
|
| @@ -93,15 +93,14 @@ HttpRequestParser::ParseResult HttpRequestParser::ParseHeaders() {
|
| DCHECK_EQ(3u, header_line_tokens.size());
|
| // Method.
|
| http_request_->method_string = header_line_tokens[0];
|
| - http_request_->method = GetMethodType(base::StringToLowerASCII(
|
| - header_line_tokens[0]));
|
| + http_request_->method =
|
| + GetMethodType(base::ToLowerASCII(header_line_tokens[0]));
|
| // Address.
|
| // Don't build an absolute URL as the parser does not know (should not
|
| // know) anything about the server address.
|
| http_request_->relative_url = header_line_tokens[1];
|
| // Protocol.
|
| - const std::string protocol =
|
| - base::StringToLowerASCII(header_line_tokens[2]);
|
| + const std::string protocol = base::ToLowerASCII(header_line_tokens[2]);
|
| CHECK(protocol == "http/1.0" || protocol == "http/1.1") <<
|
| "Protocol not supported: " << protocol;
|
| }
|
|
|