Remove unused MIMETypeRegistry::getSupportedImageMIMETypesForEncoding()
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Mar 2018 16:55:12 +0000 (16:55 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Mar 2018 16:55:12 +0000 (16:55 +0000)
https://bugs.webkit.org/show_bug.cgi?id=184154

Reviewed by Per Arne Vollan.

* platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::getSupportedImageMIMETypesForEncoding): Deleted.
* platform/MIMETypeRegistry.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230107 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/MIMETypeRegistry.cpp
Source/WebCore/platform/MIMETypeRegistry.h

index 1ebc28a..375f1ee 100644 (file)
@@ -1,3 +1,14 @@
+2018-03-30  Daniel Bates  <dabates@apple.com>
+
+        Remove unused MIMETypeRegistry::getSupportedImageMIMETypesForEncoding()
+        https://bugs.webkit.org/show_bug.cgi?id=184154
+
+        Reviewed by Per Arne Vollan.
+
+        * platform/MIMETypeRegistry.cpp:
+        (WebCore::MIMETypeRegistry::getSupportedImageMIMETypesForEncoding): Deleted.
+        * platform/MIMETypeRegistry.h:
+
 2018-03-30  Ryan Haddad  <ryanhaddad@apple.com>
 
         Unreviewed, rolling out r230102.
index f06c051..017bd99 100644 (file)
@@ -665,13 +665,6 @@ const HashSet<String, ASCIICaseInsensitiveHash>& MIMETypeRegistry::getSupportedI
     return *supportedImageResourceMIMETypes;
 }
 
-const HashSet<String, ASCIICaseInsensitiveHash>& MIMETypeRegistry::getSupportedImageMIMETypesForEncoding()
-{
-    if (!supportedImageMIMETypesForEncoding)
-        initializeSupportedImageMIMETypesForEncoding();
-    return *supportedImageMIMETypesForEncoding;
-}
-
 HashSet<String, ASCIICaseInsensitiveHash>& MIMETypeRegistry::getSupportedNonImageMIMETypes()
 {
     if (!supportedNonImageMIMETypes)
index c706eea..9244973 100644 (file)
@@ -110,7 +110,6 @@ public:
 
     WEBCORE_EXPORT const static HashSet<String, ASCIICaseInsensitiveHash>& getSupportedImageMIMETypes();
     const static HashSet<String, ASCIICaseInsensitiveHash>& getSupportedImageResourceMIMETypes();
-    const static HashSet<String, ASCIICaseInsensitiveHash>& getSupportedImageMIMETypesForEncoding();
     WEBCORE_EXPORT const static HashSet<String, ASCIICaseInsensitiveHash>& getSupportedMediaMIMETypes();
     WEBCORE_EXPORT const static HashSet<String, ASCIICaseInsensitiveHash>& getPDFMIMETypes();
     WEBCORE_EXPORT const static HashSet<String, ASCIICaseInsensitiveHash>& getUnsupportedTextMIMETypes();