| Index: content/renderer/renderer_webkitplatformsupport_impl.cc
|
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| index 433cca128460c80fe3c84eeac8fa56c3714c8fa0..2dd702f996d382f18787acf8784cf7c79927184c 100644
|
| --- a/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| @@ -425,8 +425,7 @@ RendererWebKitPlatformSupportImpl::MimeRegistry::supportsMediaMIMEType(
|
| std::string key_system_ascii =
|
| GetUnprefixedKeySystemName(base::UTF16ToASCII(key_system));
|
| std::vector<std::string> strict_codecs;
|
| - bool strip_suffix = !net::IsStrictMediaMimeType(mime_type_ascii);
|
| - net::ParseCodecString(ToASCIIOrEmpty(codecs), &strict_codecs, strip_suffix);
|
| + net::ParseCodecString(ToASCIIOrEmpty(codecs), &strict_codecs, true);
|
|
|
| if (!IsSupportedKeySystemWithMediaMimeType(
|
| mime_type_ascii, strict_codecs, key_system_ascii)) {
|
| @@ -441,14 +440,8 @@ RendererWebKitPlatformSupportImpl::MimeRegistry::supportsMediaMIMEType(
|
| // Check if the codecs are a perfect match.
|
| std::vector<std::string> strict_codecs;
|
| net::ParseCodecString(ToASCIIOrEmpty(codecs), &strict_codecs, false);
|
| - if (net::IsSupportedStrictMediaMimeType(mime_type_ascii, strict_codecs))
|
| - return IsSupported;
|
| -
|
| - // We support the container, but no codecs were specified.
|
| - if (codecs.isNull())
|
| - return MayBeSupported;
|
| -
|
| - return IsNotSupported;
|
| + return static_cast<WebMimeRegistry::SupportsType> (
|
| + net::IsSupportedStrictMediaMimeType(mime_type_ascii, strict_codecs));
|
| }
|
|
|
| // If we don't recognize the codec, it's possible we support it.
|
|
|