Fix build warning after r142017
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Feb 2013 00:27:31 +0000 (00:27 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Feb 2013 00:27:31 +0000 (00:27 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109119

Patch by KwangYong Choi <ky0.choi@samsung.com> on 2013-02-07
Reviewed by Alexey Proskuryakov.

Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::getPluginPath):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142201 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebPageProxy.cpp

index ab4c339b8e17157a7256ce5b26927749efc16da1..526c761386c95877d65606f182654220d61a9016 100644 (file)
@@ -1,3 +1,15 @@
+2013-02-07  KwangYong Choi  <ky0.choi@samsung.com>
+
+        Fix build warning after r142017
+        https://bugs.webkit.org/show_bug.cgi?id=109119
+
+        Reviewed by Alexey Proskuryakov.
+
+        Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::getPluginPath):
+
 2013-02-07  Martin Robinson  <mrobinson@igalia.com>
 
         [GTK] Cleanup command-line defines
index 9de518fe92c5d072ff05fdb3b2ae438c80559cbb..c6544b73e1fe1e1b6d0338fbadea642c16ff5212 100644 (file)
@@ -1255,6 +1255,8 @@ void WebPageProxy::getPluginPath(const String& mimeType, const String& urlString
 #if PLATFORM(MAC)
     PluginModuleLoadPolicy currentPluginLoadPolicy = static_cast<PluginModuleLoadPolicy>(pluginLoadPolicy);
     pluginLoadPolicy = m_uiClient.pluginLoadPolicy(this, plugin.bundleIdentifier, plugin.info.name, documentURLString, currentPluginLoadPolicy);
+#else
+    UNUSED_PARAM(documentURLString);
 #endif
 
     if (pluginLoadPolicy != PluginModuleLoadNormally)