Index: components/mime_util/mime_util.cc |
diff --git a/components/mime_util/mime_util.cc b/components/mime_util/mime_util.cc |
index 6c51a9e42588c2da014933259e5f3af46a7034df..fa7471bc4be5ae204f0ad676fe2f5d962b95ca02 100644 |
--- a/components/mime_util/mime_util.cc |
+++ b/components/mime_util/mime_util.cc |
@@ -155,7 +155,7 @@ bool MimeUtil::IsSupportedImageMimeType(const std::string& mime_type) const { |
} |
bool MimeUtil::IsSupportedNonImageMimeType(const std::string& mime_type) const { |
- return non_image_types_.find(base::StringToLowerASCII(mime_type)) != |
+ return non_image_types_.find(base::ToLowerASCII(mime_type)) != |
non_image_types_.end() || |
#if !defined(OS_IOS) |
media::IsSupportedMediaMimeType(mime_type) || |
@@ -169,7 +169,7 @@ bool MimeUtil::IsSupportedNonImageMimeType(const std::string& mime_type) const { |
} |
bool MimeUtil::IsUnsupportedTextMimeType(const std::string& mime_type) const { |
- return unsupported_text_types_.find(base::StringToLowerASCII(mime_type)) != |
+ return unsupported_text_types_.find(base::ToLowerASCII(mime_type)) != |
unsupported_text_types_.end(); |
} |