Index: net/http/http_stream_factory.cc |
diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc |
index 35083f0429cde0513686a9c2a588b7d41614aaa7..b34b509867e5660715fb522262798946c90c98ee 100644 |
--- a/net/http/http_stream_factory.cc |
+++ b/net/http/http_stream_factory.cc |
@@ -39,7 +39,8 @@ void HttpStreamFactory::ProcessAlternateProtocol( |
bool is_valid = true; |
for (size_t i = 0; i < alternate_protocol_values.size(); ++i) { |
const std::string& alternate_protocol_str = alternate_protocol_values[i]; |
- if (StartsWithASCII(alternate_protocol_str, "p=", true)) { |
+ if (base::StartsWith(alternate_protocol_str, "p=", |
+ base::CompareCase::SENSITIVE)) { |
if (!base::StringToDouble(alternate_protocol_str.substr(2), |
&probability) || |
probability < 0 || probability > 1) { |