Log Message
Fixing compilation warning "unused parameter" in WebPageProxy.cpp https://bugs.webkit.org/show_bug.cgi?id=120205
Patch by Santosh Mahto <santosh...@samsung.com> on 2013-08-26 Reviewed by Anders Carlsson. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::findPlugin): (WebKit::WebPageProxy::didBlockInsecurePluginVersion): Added UNUSED_PARAM to avoid warning.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (154659 => 154660)
--- trunk/Source/WebKit2/ChangeLog 2013-08-27 03:26:02 UTC (rev 154659)
+++ trunk/Source/WebKit2/ChangeLog 2013-08-27 03:31:30 UTC (rev 154660)
@@ -1,3 +1,15 @@
+2013-08-26 Santosh Mahto <santosh...@samsung.com>
+
+ Fixing compilation warning "unused parameter" in WebPageProxy.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=120205
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::findPlugin):
+ (WebKit::WebPageProxy::didBlockInsecurePluginVersion):
+ Added UNUSED_PARAM to avoid warning.
+
2013-08-23 Andy Estes <aes...@apple.com>
Fix issues found by the Clang Static Analyzer
Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (154659 => 154660)
--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2013-08-27 03:26:02 UTC (rev 154659)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2013-08-27 03:31:30 UTC (rev 154660)
@@ -1443,6 +1443,7 @@
#else
UNUSED_PARAM(frameURLString);
UNUSED_PARAM(pageURLString);
+ UNUSED_PARAM(unavailabilityDescription);
#endif
PluginProcessSandboxPolicy pluginProcessSandboxPolicy = PluginProcessSandboxPolicyNormal;
@@ -4159,7 +4160,11 @@
PluginModuleInfo plugin = m_process->context()->pluginInfoStore().findPlugin(newMimeType, KURL(KURL(), pluginURLString));
pluginInformation = createPluginInformationDictionary(plugin, frameURLString, mimeType, pageURLString, String(), String(), replacementObscured);
#else
+ UNUSED_PARAM(mimeType);
UNUSED_PARAM(pluginURLString);
+ UNUSED_PARAM(frameURLString);
+ UNUSED_PARAM(pageURLString);
+ UNUSED_PARAM(replacementObscured);
#endif
m_loaderClient.didBlockInsecurePluginVersion(this, pluginInformation.get());
_______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes