Title: [211877] trunk/Source/WebCore
Revision
211877
Author
aakash_j...@apple.com
Date
2017-02-08 09:22:28 -0800 (Wed, 08 Feb 2017)

Log Message

Remove unused method WebCore::PluginData::pluginNameForMimeType
https://bugs.webkit.org/show_bug.cgi?id=167986

Reviewed by Anders Carlsson.

* plugins/PluginData.cpp:
(WebCore::PluginData::pluginNameForWebVisibleMimeType): Deleted.
* plugins/PluginData.h: Removed pluginNameForWebVisibleMimeType.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (211876 => 211877)


--- trunk/Source/WebCore/ChangeLog	2017-02-08 17:19:45 UTC (rev 211876)
+++ trunk/Source/WebCore/ChangeLog	2017-02-08 17:22:28 UTC (rev 211877)
@@ -1,3 +1,14 @@
+2017-02-08  Aakash Jain  <aakash_j...@apple.com>
+
+        Remove unused method WebCore::PluginData::pluginNameForMimeType
+        https://bugs.webkit.org/show_bug.cgi?id=167986
+
+        Reviewed by Anders Carlsson.
+
+        * plugins/PluginData.cpp:
+        (WebCore::PluginData::pluginNameForWebVisibleMimeType): Deleted.
+        * plugins/PluginData.h: Removed pluginNameForWebVisibleMimeType.
+
 2017-02-08  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [GTK] Fix translatable form validation messages

Modified: trunk/Source/WebCore/plugins/PluginData.cpp (211876 => 211877)


--- trunk/Source/WebCore/plugins/PluginData.cpp	2017-02-08 17:19:45 UTC (rev 211876)
+++ trunk/Source/WebCore/plugins/PluginData.cpp	2017-02-08 17:22:28 UTC (rev 211877)
@@ -148,14 +148,6 @@
     return false;
 }
 
-String PluginData::pluginNameForWebVisibleMimeType(const String& mimeType) const
-{
-    PluginInfo info;
-    if (getPluginInfoForWebVisibleMimeType(mimeType, info))
-        return info.name;
-    return String();
-}
-
 String PluginData::pluginFileForWebVisibleMimeType(const String& mimeType) const
 {
     PluginInfo info;

Modified: trunk/Source/WebCore/plugins/PluginData.h (211876 => 211877)


--- trunk/Source/WebCore/plugins/PluginData.h	2017-02-08 17:19:45 UTC (rev 211876)
+++ trunk/Source/WebCore/plugins/PluginData.h	2017-02-08 17:22:28 UTC (rev 211877)
@@ -98,7 +98,6 @@
     };
 
     WEBCORE_EXPORT bool supportsWebVisibleMimeType(const String& mimeType, const AllowedPluginTypes) const;
-    String pluginNameForWebVisibleMimeType(const String& mimeType) const;
     String pluginFileForWebVisibleMimeType(const String& mimeType) const;
 
     WEBCORE_EXPORT bool supportsMimeType(const String& mimeType, const AllowedPluginTypes) const;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to