| Index: third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp
|
| diff --git a/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp b/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp
|
| index f26a25e1419b7504ebbfc9e036cbf799983f3d67..bdb38ae9c6f0c82a390294dc357a98daad110c27 100644
|
| --- a/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp
|
| @@ -113,10 +113,10 @@ bool MIMETypeRegistry::IsSupportedImagePrefixedMIMEType(
|
|
|
| bool MIMETypeRegistry::IsSupportedImageMIMETypeForEncoding(
|
| const String& mime_type) {
|
| - if (EqualIgnoringCase(mime_type, "image/jpeg") ||
|
| - EqualIgnoringCase(mime_type, "image/png"))
|
| + if (DeprecatedEqualIgnoringCase(mime_type, "image/jpeg") ||
|
| + DeprecatedEqualIgnoringCase(mime_type, "image/png"))
|
| return true;
|
| - if (EqualIgnoringCase(mime_type, "image/webp"))
|
| + if (DeprecatedEqualIgnoringCase(mime_type, "image/webp"))
|
| return true;
|
| return false;
|
| }
|
| @@ -197,7 +197,7 @@ bool MIMETypeRegistry::IsJavaAppletMIMEType(const String& mime_type) {
|
| }
|
|
|
| bool MIMETypeRegistry::IsSupportedStyleSheetMIMEType(const String& mime_type) {
|
| - return EqualIgnoringCase(mime_type, "text/css");
|
| + return DeprecatedEqualIgnoringCase(mime_type, "text/css");
|
| }
|
|
|
| bool MIMETypeRegistry::IsSupportedFontMIMEType(const String& mime_type) {
|
| @@ -210,7 +210,7 @@ bool MIMETypeRegistry::IsSupportedFontMIMEType(const String& mime_type) {
|
| }
|
|
|
| bool MIMETypeRegistry::IsSupportedTextTrackMIMEType(const String& mime_type) {
|
| - return EqualIgnoringCase(mime_type, "text/vtt");
|
| + return DeprecatedEqualIgnoringCase(mime_type, "text/vtt");
|
| }
|
|
|
| } // namespace blink
|
|
|