| Index: net/base/net_util.cc
|
| diff --git a/net/base/net_util.cc b/net/base/net_util.cc
|
| index e045441d510576ef6599d07372a889ede46a71ec..39a8591a3968d60de4d532a696fa4554191f917f 100644
|
| --- a/net/base/net_util.cc
|
| +++ b/net/base/net_util.cc
|
| @@ -155,7 +155,7 @@
|
| }
|
|
|
| bool IsNormalizedLocalhostTLD(const std::string& host) {
|
| - return base::EndsWith(host, ".localhost", base::CompareCase::SENSITIVE);
|
| + return base::EndsWith(host, ".localhost", true);
|
| }
|
|
|
| // |host| should be normalized.
|
| @@ -801,7 +801,7 @@
|
| };
|
| const std::string& host = url.host();
|
| for (const char* suffix : kGoogleHostSuffixes) {
|
| - if (base::EndsWith(host, suffix, base::CompareCase::INSENSITIVE_ASCII))
|
| + if (base::EndsWith(host, suffix, false))
|
| return true;
|
| }
|
| return false;
|
|
|