| Index: Source/platform/MIMETypeRegistry.cpp
|
| diff --git a/Source/platform/MIMETypeRegistry.cpp b/Source/platform/MIMETypeRegistry.cpp
|
| index 6ad609978febb98058722f9176e141e8a4ee549b..32d681e1fd93c40676211b161b7534b9f42de830 100644
|
| --- a/Source/platform/MIMETypeRegistry.cpp
|
| +++ b/Source/platform/MIMETypeRegistry.cpp
|
| @@ -73,6 +73,12 @@ bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType)
|
| != blink::WebMimeRegistry::IsNotSupported;
|
| }
|
|
|
| +bool MIMETypeRegistry::isSupportedImagePrefixedMIMEType(const String& mimeType)
|
| +{
|
| + return blink::Platform::current()->mimeRegistry()->supportsImagePrefixedMIMEType(mimeType.lower())
|
| + != blink::WebMimeRegistry::IsNotSupported;
|
| +}
|
| +
|
| bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
|
| {
|
| return isSupportedImageMIMEType(mimeType);
|
|
|