| Index: content/renderer/renderer_webkitplatformsupport_impl.cc
|
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| index 91906df8dbfc6a5ea5e8767a53602f41fe9c0f80..bc7ae3d9b76ca60cfbca8e501572dac4ee9e9ad8 100644
|
| --- a/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| @@ -435,14 +435,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.
|
|
|