Index: media/base/mime_util.cc |
diff --git a/media/base/mime_util.cc b/media/base/mime_util.cc |
index 8878edd8e73ac5837b7be28f02464fc253b8c60a..00a2c744cc4bb0e2e3433f563a87d0d6a6b8d652 100644 |
--- a/media/base/mime_util.cc |
+++ b/media/base/mime_util.cc |
@@ -533,7 +533,7 @@ static bool ParseH264CodecID(const std::string& codec_id, |
return false; |
} |
- std::string profile = base::StringToUpperASCII(codec_id.substr(5, 4)); |
+ std::string profile = base::ToUpperASCII(codec_id.substr(5, 4)); |
if (IsValidH264BaselineProfile(profile)) { |
*codec = MimeUtil::H264_BASELINE; |
} else if (profile == "4D40") { |
@@ -546,8 +546,7 @@ static bool ParseH264CodecID(const std::string& codec_id, |
return true; |
} |
- *is_ambiguous = |
- !IsValidH264Level(base::StringToUpperASCII(codec_id.substr(9))); |
+ *is_ambiguous = !IsValidH264Level(base::ToUpperASCII(codec_id.substr(9))); |
return true; |
} |