diff options
author | Derek Sollenberger <djsollen@google.com> | 2010-01-21 15:06:19 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2010-01-21 15:06:19 -0500 |
commit | f5831d4303410edffb865c936164a7aee981d04c (patch) | |
tree | 0d9bde12a75436cf72ff9168e21289773cf4af2b /tests/BrowserTestPlugin | |
parent | ef340357cefeee452403a77c2b6c1aa01c239d6b (diff) | |
download | frameworks_base-f5831d4303410edffb865c936164a7aee981d04c.zip frameworks_base-f5831d4303410edffb865c936164a7aee981d04c.tar.gz frameworks_base-f5831d4303410edffb865c936164a7aee981d04c.tar.bz2 |
Removing unused parameter from NP_Initialize.
Diffstat (limited to 'tests/BrowserTestPlugin')
-rw-r--r-- | tests/BrowserTestPlugin/jni/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/BrowserTestPlugin/jni/main.cpp b/tests/BrowserTestPlugin/jni/main.cpp index 586d139..87ddbc4 100644 --- a/tests/BrowserTestPlugin/jni/main.cpp +++ b/tests/BrowserTestPlugin/jni/main.cpp @@ -53,7 +53,7 @@ NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value); NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value); extern "C" { -EXPORT NPError NP_Initialize(NPNetscapeFuncs* browserFuncs, NPPluginFuncs* pluginFuncs, void *java_env, void *application_context); +EXPORT NPError NP_Initialize(NPNetscapeFuncs* browserFuncs, NPPluginFuncs* pluginFuncs, void *java_env); EXPORT NPError NP_GetValue(NPP instance, NPPVariable variable, void *value); EXPORT const char* NP_GetMIMEDescription(void); EXPORT void NP_Shutdown(void); @@ -70,7 +70,7 @@ ANPWindowInterfaceV0 gWindowI; #define ARRAY_COUNT(array) (sizeof(array) / sizeof(array[0])) -NPError NP_Initialize(NPNetscapeFuncs* browserFuncs, NPPluginFuncs* pluginFuncs, void *java_env, void *application_context) +NPError NP_Initialize(NPNetscapeFuncs* browserFuncs, NPPluginFuncs* pluginFuncs, void *java_env) { // Make sure we have a function table equal or larger than we are built against. if (browserFuncs->size < sizeof(NPNetscapeFuncs)) { |