[wk2] Resolve unused parameters in WebPlatformStrategies.cpp

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

Patch by Tamas Czene <tczene@inf.u-szeged.hu> on 2013-08-28
Reviewed by Darin Adler.

* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::getPluginInfo):
(WebKit::WebPlatformStrategies::transientLocalStorageNamespace):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 56c88373
2013-08-28 Tamas Czene <tczene@inf.u-szeged.hu>
[wk2] Resolve unused parameters in WebPlatformStrategies.cpp
https://bugs.webkit.org/show_bug.cgi?id=120410
Reviewed by Darin Adler.
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::getPluginInfo):
(WebKit::WebPlatformStrategies::transientLocalStorageNamespace):
2013-08-28 Tamas Czene <tczene@inf.u-szeged.hu>
[wk2] Resolve unused parameter warnings in the WebProcess.cpp
......
......@@ -302,6 +302,9 @@ void WebPlatformStrategies::getPluginInfo(const WebCore::Page* page, Vector<WebC
}
plugins = m_cachedApplicationPlugins;
#else
UNUSED_PARAM(page);
UNUSED_PARAM(plugins);
#endif // ENABLE(NETSCAPE_PLUGIN_API)
}
......@@ -348,6 +351,7 @@ PassRefPtr<StorageNamespace> WebPlatformStrategies::localStorageNamespace(PageGr
PassRefPtr<StorageNamespace> WebPlatformStrategies::transientLocalStorageNamespace(PageGroup* pageGroup, SecurityOrigin*securityOrigin)
{
#if ENABLE(UI_PROCESS_STORAGE)
UNUSED_PARAM(securityOrigin);
// FIXME: This could be more clever and made to work across processes.
return StorageStrategy::sessionStorageNamespace(*pageGroup->pages().begin());
#else
......
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