* UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
(WebKit::PluginInfoStore::getPluginInfo): Return false if ENABLE_NETSCAPE_PLUGIN_API is false.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117221
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2012-05-15 Andy Estes <aestes@apple.com>
+ WebKit2 would fail to build on Windows if Netscape plug-ins were disabled.
+
+ * UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
+ (WebKit::PluginInfoStore::getPluginInfo): Return false if ENABLE_NETSCAPE_PLUGIN_API is false.
+
+2012-05-15 Andy Estes <aestes@apple.com>
+
Guard Netscape plug-in code with ENABLE(NETSCAPE_PLUGIN_API)
https://bugs.webkit.org/show_bug.cgi?id=86496
bool PluginInfoStore::getPluginInfo(const String& pluginPath, PluginModuleInfo& plugin)
{
+#if ENABLE(NETSCAPE_PLUGIN_API)
return NetscapePluginModule::getPluginInfo(pluginPath, plugin);
+#else
+ UNUSED_PARAM(pluginPath);
+ UNUSED_PARAM(plugin);
+ return false;
+#endif
}
static bool isOldWindowsMediaPlayerPlugin(const PluginModuleInfo& plugin)