Commit 4088ce76 authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

Fixing compilation warning "unused parameter" in WebPageProxy.cpp

https://bugs.webkit.org/show_bug.cgi?id=120205

Patch by Santosh Mahto <santosh.ma@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.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent dec26ee4
2013-08-26 Santosh Mahto <santosh.ma@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 <aestes@apple.com>
 
Fix issues found by the Clang Static Analyzer
......
......@@ -1443,6 +1443,7 @@ void WebPageProxy::findPlugin(const String& mimeType, uint32_t processType, cons
#else
UNUSED_PARAM(frameURLString);
UNUSED_PARAM(pageURLString);
UNUSED_PARAM(unavailabilityDescription);
#endif
PluginProcessSandboxPolicy pluginProcessSandboxPolicy = PluginProcessSandboxPolicyNormal;
......@@ -4159,7 +4160,11 @@ void WebPageProxy::didBlockInsecurePluginVersion(const String& mimeType, const S
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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment