Title: [121678] trunk/Source/WebCore
Revision
121678
Author
[email protected]
Date
2012-07-02 07:20:03 -0700 (Mon, 02 Jul 2012)

Log Message

[EFL] Unreviewed build fix with ENABLE_NETSCAPE_PLUGIN_API after r121467.

* plugins/efl/PluginPackageEfl.cpp:
(WebCore::PluginPackage::load): Move the declaration of `err'
before the first `goto' statement.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (121677 => 121678)


--- trunk/Source/WebCore/ChangeLog	2012-07-02 14:18:25 UTC (rev 121677)
+++ trunk/Source/WebCore/ChangeLog	2012-07-02 14:20:03 UTC (rev 121678)
@@ -1,3 +1,11 @@
+2012-07-02  Raphael Kubo da Costa  <[email protected]>
+
+        [EFL] Unreviewed build fix with ENABLE_NETSCAPE_PLUGIN_API after r121467.
+
+        * plugins/efl/PluginPackageEfl.cpp:
+        (WebCore::PluginPackage::load): Move the declaration of `err'
+        before the first `goto' statement.
+
 2012-07-02  Alexei Filippov  <[email protected]>
 
         Web Inspector: replace recursion with a stack in DOM nodes snapshot traversal.

Modified: trunk/Source/WebCore/plugins/efl/PluginPackageEfl.cpp (121677 => 121678)


--- trunk/Source/WebCore/plugins/efl/PluginPackageEfl.cpp	2012-07-02 14:18:25 UTC (rev 121677)
+++ trunk/Source/WebCore/plugins/efl/PluginPackageEfl.cpp	2012-07-02 14:20:03 UTC (rev 121678)
@@ -129,6 +129,8 @@
 
     m_isLoaded = true;
 
+    NPError err;
+
     NP_InitializeFuncPtr initialize = reinterpret_cast<NP_InitializeFuncPtr>(eina_module_symbol_get(m_module, "NP_Initialize"));
     if (!initialize) {
         EINA_LOG_ERR("Could not get symbol NP_Initialize");
@@ -147,9 +149,9 @@
     initializeBrowserFuncs();
 
 #if defined(XP_UNIX)
-    NPError err = initialize(&m_browserFuncs, &m_pluginFuncs);
+    err = initialize(&m_browserFuncs, &m_pluginFuncs);
 #else
-    NPError err = initialize(&m_browserFuncs);
+    err = initialize(&m_browserFuncs);
 #endif
     if (err != NPERR_NO_ERROR)
         goto abort;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to