| Index: net/http/http_network_transaction.cc
|
| diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
|
| index 7fe07c6c16bc6801f9fd5118528188fff480bef2..76e352eed923aaabcb6d8011f253cd02629acf2a 100644
|
| --- a/net/http/http_network_transaction.cc
|
| +++ b/net/http/http_network_transaction.cc
|
| @@ -1444,8 +1444,7 @@
|
| return;
|
|
|
| const std::string& host = request_->url.host();
|
| - bool is_google = base::EndsWith(host, "google.com",
|
| - base::CompareCase::SENSITIVE) &&
|
| + bool is_google = base::EndsWith(host, "google.com", true) &&
|
| (host.size() == 10 || host[host.size() - 11] == '.');
|
| if (is_google) {
|
| // Some fraction of successful connections use the fallback, but only due to
|
|
|