| Index: Source/platform/MIMETypeRegistry.cpp
|
| diff --git a/Source/platform/MIMETypeRegistry.cpp b/Source/platform/MIMETypeRegistry.cpp
|
| index 6ad609978febb98058722f9176e141e8a4ee549b..d43a1ffbcd54555a6b74c0299f375bd51442312e 100644
|
| --- a/Source/platform/MIMETypeRegistry.cpp
|
| +++ b/Source/platform/MIMETypeRegistry.cpp
|
| @@ -78,6 +78,12 @@ bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
|
| return isSupportedImageMIMEType(mimeType);
|
| }
|
|
|
| +bool MIMETypeRegistry::isSupportedImagePrefixedMIMEType(const String& mimeType)
|
| +{
|
| + return blink::Platform::current()->mimeRegistry()->supportsImagePrefixedMIMEType(mimeType.lower())
|
| + != blink::WebMimeRegistry::IsNotSupported;
|
| +}
|
| +
|
| bool MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(const String& mimeType)
|
| {
|
| if (equalIgnoringCase(mimeType, "image/jpeg") || equalIgnoringCase(mimeType, "image/png"))
|
|
|