Index: media/base/mime_util.cc |
diff --git a/media/base/mime_util.cc b/media/base/mime_util.cc |
index 50a99c62f61c4a8713644595338f7a137cd41978..2eaf20619a890d4a9937816f330e1fdddd42435a 100644 |
--- a/media/base/mime_util.cc |
+++ b/media/base/mime_util.cc |
@@ -396,8 +396,7 @@ void MimeUtil::InitializeMimeTypeMaps() { |
} |
bool MimeUtil::IsSupportedMediaMimeType(const std::string& mime_type) const { |
- return media_map_.find(base::StringToLowerASCII(mime_type)) != |
- media_map_.end(); |
+ return media_map_.find(base::ToLowerASCII(mime_type)) != media_map_.end(); |
} |
@@ -439,14 +438,14 @@ void MimeUtil::ParseCodecString(const std::string& codecs, |
} |
bool MimeUtil::IsStrictMediaMimeType(const std::string& mime_type) const { |
- return strict_format_map_.find(base::StringToLowerASCII(mime_type)) != |
+ return strict_format_map_.find(base::ToLowerASCII(mime_type)) != |
strict_format_map_.end(); |
} |
SupportsType MimeUtil::IsSupportedStrictMediaMimeType( |
const std::string& mime_type, |
const std::vector<std::string>& codecs) const { |
- const std::string mime_type_lower_case = base::StringToLowerASCII(mime_type); |
+ const std::string mime_type_lower_case = base::ToLowerASCII(mime_type); |
StrictMappings::const_iterator it_strict_map = |
strict_format_map_.find(mime_type_lower_case); |
if (it_strict_map == strict_format_map_.end()) |