Index: net/http/http_network_transaction.cc |
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc |
index 598a51d2d28890d62d1364b6a998429ee21ebcc1..8e7462298b2526a99c880a5cc9034135840ef0e3 100644 |
--- a/net/http/http_network_transaction.cc |
+++ b/net/http/http_network_transaction.cc |
@@ -1444,8 +1444,9 @@ void HttpNetworkTransaction::RecordSSLFallbackMetrics(int result) { |
return; |
const std::string& host = request_->url.host(); |
- bool is_google = EndsWith(host, "google.com", true) && |
- (host.size() == 10 || host[host.size() - 11] == '.'); |
+ bool is_google = |
+ base::EndsWith(host, "google.com", base::CompareCase::SENSITIVE) && |
+ (host.size() == 10 || host[host.size() - 11] == '.'); |
if (is_google) { |
// Some fraction of successful connections use the fallback, but only due to |
// a spurious network failure. To estimate this fraction, compare handshakes |