Fix build warning after r142017
[WebKit-https.git] / Source / WebKit2 / UIProcess / WebPageProxy.cpp
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)