Title: [230107] trunk/Source/WebCore
Revision
230107
Author
dba...@webkit.org
Date
2018-03-30 09:55:12 -0700 (Fri, 30 Mar 2018)

Log Message

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:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (230106 => 230107)


--- trunk/Source/WebCore/ChangeLog	2018-03-30 16:31:06 UTC (rev 230106)
+++ trunk/Source/WebCore/ChangeLog	2018-03-30 16:55:12 UTC (rev 230107)
@@ -1,3 +1,14 @@
+2018-03-30  Daniel Bates  <daba...@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  <ryanhad...@apple.com>
 
         Unreviewed, rolling out r230102.

Modified: trunk/Source/WebCore/platform/MIMETypeRegistry.cpp (230106 => 230107)


--- trunk/Source/WebCore/platform/MIMETypeRegistry.cpp	2018-03-30 16:31:06 UTC (rev 230106)
+++ trunk/Source/WebCore/platform/MIMETypeRegistry.cpp	2018-03-30 16:55:12 UTC (rev 230107)
@@ -665,13 +665,6 @@
     return *supportedImageResourceMIMETypes;
 }
 
-const HashSet<String, ASCIICaseInsensitiveHash>& MIMETypeRegistry::getSupportedImageMIMETypesForEncoding()
-{
-    if (!supportedImageMIMETypesForEncoding)
-        initializeSupportedImageMIMETypesForEncoding();
-    return *supportedImageMIMETypesForEncoding;
-}
-
 HashSet<String, ASCIICaseInsensitiveHash>& MIMETypeRegistry::getSupportedNonImageMIMETypes()
 {
     if (!supportedNonImageMIMETypes)

Modified: trunk/Source/WebCore/platform/MIMETypeRegistry.h (230106 => 230107)


--- trunk/Source/WebCore/platform/MIMETypeRegistry.h	2018-03-30 16:31:06 UTC (rev 230106)
+++ trunk/Source/WebCore/platform/MIMETypeRegistry.h	2018-03-30 16:55:12 UTC (rev 230107)
@@ -110,7 +110,6 @@
 
     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();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to