Index: components/html_viewer/web_mime_registry_impl.cc |
diff --git a/components/html_viewer/web_mime_registry_impl.cc b/components/html_viewer/web_mime_registry_impl.cc |
index a050693a098397926ba99b7309f68a8f34851546..caed08920b74a5456852d0d32b5905d5c014577f 100644 |
--- a/components/html_viewer/web_mime_registry_impl.cc |
+++ b/components/html_viewer/web_mime_registry_impl.cc |
@@ -44,7 +44,8 @@ WebMimeRegistryImpl::supportsImagePrefixedMIMEType( |
const blink::WebString& mime_type) { |
std::string ascii_mime_type = ToASCIIOrEmpty(mime_type); |
return (mime_util::IsSupportedImageMimeType(ascii_mime_type) || |
- (base::StartsWithASCII(ascii_mime_type, "image/", true) && |
+ (base::StartsWith(ascii_mime_type, "image/", |
+ base::CompareCase::SENSITIVE) && |
mime_util::IsSupportedNonImageMimeType(ascii_mime_type))) |
? WebMimeRegistry::IsSupported |
: WebMimeRegistry::IsNotSupported; |