summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp')
-rw-r--r--Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp b/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
index 3a428e63a..27b10e726 100644
--- a/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
+++ b/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
@@ -306,19 +306,19 @@ static NPError NPN_PostURL(NPP npp, const char* url, const char* target, uint32_
return NPERR_NO_ERROR;
}
-static NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList)
+static NPError NPN_RequestRead(NPStream*, NPByteRange*)
{
notImplemented();
return NPERR_GENERIC_ERROR;
}
-static NPError NPN_NewStream(NPP instance, NPMIMEType type, const char* target, NPStream** stream)
+static NPError NPN_NewStream(NPP, NPMIMEType, const char*, NPStream**)
{
notImplemented();
return NPERR_GENERIC_ERROR;
}
-static int32_t NPN_Write(NPP instance, NPStream* stream, int32_t len, void* buffer)
+static int32_t NPN_Write(NPP, NPStream*, int32_t, void*)
{
notImplemented();
return -1;
@@ -358,12 +358,12 @@ static void NPN_MemFree(void* ptr)
npnMemFree(ptr);
}
-static uint32_t NPN_MemFlush(uint32_t size)
+static uint32_t NPN_MemFlush(uint32_t)
{
return 0;
}
-static void NPN_ReloadPlugins(NPBool reloadPages)
+static void NPN_ReloadPlugins(NPBool)
{
notImplemented();
}
@@ -374,7 +374,7 @@ static JRIEnv* NPN_GetJavaEnv(void)
return 0;
}
-static jref NPN_GetJavaPeer(NPP instance)
+static jref NPN_GetJavaPeer(NPP)
{
notImplemented();
return 0;
@@ -612,14 +612,14 @@ static void NPN_InvalidateRect(NPP npp, NPRect* invalidRect)
plugin->invalidate(invalidRect);
}
-static void NPN_InvalidateRegion(NPP npp, NPRegion invalidRegion)
+static void NPN_InvalidateRegion(NPP npp, NPRegion)
{
// FIXME: We could at least figure out the bounding rectangle of the invalid region.
RefPtr<NetscapePlugin> plugin = NetscapePlugin::fromNPP(npp);
plugin->invalidate(0);
}
-static void NPN_ForceRedraw(NPP instance)
+static void NPN_ForceRedraw(NPP)
{
notImplemented();
}