| Index: net/filter/filter.cc
|
| diff --git a/net/filter/filter.cc b/net/filter/filter.cc
|
| index 0e6544bbb6b9a77898d2afebf474c3e46e2a89cc..708ad814eea99537beb746e9d4f120d23581f026 100644
|
| --- a/net/filter/filter.cc
|
| +++ b/net/filter/filter.cc
|
| @@ -267,7 +267,8 @@ void Filter::FixupEncodingTypes(
|
| // supported server side on paths that only send HTML content, this mode has
|
| // never surfaced in the wild (and is unlikely to).
|
| // We will gather a lot of stats as we perform the fixups
|
| - if (base::StartsWithASCII(mime_type, kTextHtml, false)) {
|
| + if (base::StartsWith(mime_type, kTextHtml,
|
| + base::CompareCase::INSENSITIVE_ASCII)) {
|
| // Suspicious case: Advertised dictionary, but server didn't use sdch, and
|
| // we're HTML tagged.
|
| if (encoding_types->empty()) {
|
|
|