| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index f7fa25fdcd28b14cfbb0b98be5e5ef04b32720fa..ec074ba3be43328eb986ae4bc273626aefc13f84 100644
|
| --- a/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/Source/core/html/HTMLMediaElement.cpp
|
| @@ -194,16 +194,6 @@ static bool canLoadURL(const KURL& url, const ContentType& contentType, const St
|
| if (contentMIMEType.isEmpty() || contentMIMEType == "application/octet-stream" || contentMIMEType == "text/plain") {
|
| if (url.protocolIsData())
|
| contentMIMEType = mimeTypeFromDataURL(url.string());
|
| - else {
|
| - String lastPathComponent = url.lastPathComponent();
|
| - size_t pos = lastPathComponent.reverseFind('.');
|
| - if (pos != notFound) {
|
| - String extension = lastPathComponent.substring(pos + 1);
|
| - String mediaType = MIMETypeRegistry::getMediaMIMETypeForExtension(extension);
|
| - if (!mediaType.isEmpty())
|
| - return true;
|
| - }
|
| - }
|
| }
|
|
|
| // If no MIME type is specified, always attempt to load.
|
|
|