Index: components/variations/net/variations_http_header_provider.cc |
diff --git a/components/variations/net/variations_http_header_provider.cc b/components/variations/net/variations_http_header_provider.cc |
index fd7be82a312a6ad5e966eb66d122c4b312ad0809..583d77ac65cfc809b4276e4d8d7eef1b68ace1eb 100644 |
--- a/components/variations/net/variations_http_header_provider.cc |
+++ b/components/variations/net/variations_http_header_provider.cc |
@@ -280,7 +280,8 @@ bool VariationsHttpHeaderProvider::ShouldAppendHeaders(const GURL& url) { |
// is very straight forward. |
const std::string host = url.host(); |
for (size_t i = 0; i < arraysize(kSuffixesToSetHeadersFor); ++i) { |
- if (base::EndsWith(host, kSuffixesToSetHeadersFor[i], false)) |
+ if (base::EndsWith(host, kSuffixesToSetHeadersFor[i], |
+ base::CompareCase::INSENSITIVE_ASCII)) |
return true; |
} |