Title: [174502] trunk/Source/WebCore
Revision
174502
Author
[email protected]
Date
2014-10-09 00:34:41 -0700 (Thu, 09 Oct 2014)

Log Message

[GTK] Netscape plugin API symbol used outside feature guards
https://bugs.webkit.org/show_bug.cgi?id=137385

Patch by Philip Chimento <[email protected]> on 2014-10-09
Reviewed by Philippe Normand.

* plugins/PluginPackage.cpp:
(WebCore::PluginPackage::unload): Add guards for Netscape Plugin
API around symbol, so that it compiles OK when the API is not
available.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (174501 => 174502)


--- trunk/Source/WebCore/ChangeLog	2014-10-09 06:50:45 UTC (rev 174501)
+++ trunk/Source/WebCore/ChangeLog	2014-10-09 07:34:41 UTC (rev 174502)
@@ -1,3 +1,15 @@
+2014-10-09  Philip Chimento  <[email protected]>
+
+        [GTK] Netscape plugin API symbol used outside feature guards
+        https://bugs.webkit.org/show_bug.cgi?id=137385
+
+        Reviewed by Philippe Normand.
+
+        * plugins/PluginPackage.cpp:
+        (WebCore::PluginPackage::unload): Add guards for Netscape Plugin
+        API around symbol, so that it compiles OK when the API is not
+        available.
+
 2014-10-08  Mihnea Ovidenie  <[email protected]>
 
         [CSSRegions]Remove unused parameter in adjustRegionBoundsFromFlowThreadPortionRect

Modified: trunk/Source/WebCore/plugins/PluginPackage.cpp (174501 => 174502)


--- trunk/Source/WebCore/plugins/PluginPackage.cpp	2014-10-09 06:50:45 UTC (rev 174501)
+++ trunk/Source/WebCore/plugins/PluginPackage.cpp	2014-10-09 07:34:41 UTC (rev 174502)
@@ -124,7 +124,9 @@
     if (--m_loadCount > 0)
         return;
 
+#if ENABLE(NETSCAPE_PLUGIN_API)
     m_NPP_Shutdown();
+#endif
 
     unloadWithoutShutdown();
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to