Title: [150178] trunk/Source/WebKit2
Revision
150178
Author
[email protected]
Date
2013-05-16 01:46:12 -0700 (Thu, 16 May 2013)

Log Message

[WK2] PluginInformation.cpp fails to build because of missing ENABLE(NETSCAPE_PLUGIN_API) guard
https://bugs.webkit.org/show_bug.cgi?id=116018

Rubber-stamped by Jocelyn Turcotte.

* Shared/Plugins/Netscape/PluginInformation.cpp:
(WebKit::getPluginModuleInformation):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (150177 => 150178)


--- trunk/Source/WebKit2/ChangeLog	2013-05-16 05:56:10 UTC (rev 150177)
+++ trunk/Source/WebKit2/ChangeLog	2013-05-16 08:46:12 UTC (rev 150178)
@@ -1,3 +1,13 @@
+2013-05-16  Andras Becsi  <[email protected]>
+
+        [WK2] PluginInformation.cpp fails to build because of missing ENABLE(NETSCAPE_PLUGIN_API) guard
+        https://bugs.webkit.org/show_bug.cgi?id=116018
+
+        Rubber-stamped by Jocelyn Turcotte.
+
+        * Shared/Plugins/Netscape/PluginInformation.cpp:
+        (WebKit::getPluginModuleInformation):
+
 2013-05-15  Simon Cooper  <[email protected]>
 
         Enable printing in plugins

Modified: trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp (150177 => 150178)


--- trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp	2013-05-16 05:56:10 UTC (rev 150177)
+++ trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp	2013-05-16 08:46:12 UTC (rev 150178)
@@ -98,11 +98,13 @@
 
 void getPluginModuleInformation(const PluginModuleInfo& plugin, ImmutableDictionary::MapType& map)
 {
+#if ENABLE(NETSCAPE_PLUGIN_API)
     map.set(pluginInformationPathKey(), WebString::create(plugin.path));
     map.set(pluginInformationDisplayNameKey(), WebString::create(plugin.info.name));
     map.set(pluginInformationDefaultLoadPolicyKey(), WebUInt64::create(toWKPluginLoadPolicy(PluginInfoStore::policyForPlugin(plugin))));
 
     getPlatformPluginModuleInformation(plugin, map);
+#endif
 }
 
 PassRefPtr<ImmutableDictionary> createPluginInformationDictionary(const PluginModuleInfo& plugin)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to