summaryrefslogtreecommitdiffstats
path: root/tests/BrowserTestPlugin/jni/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/BrowserTestPlugin/jni/main.cpp')
-rw-r--r--tests/BrowserTestPlugin/jni/main.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/BrowserTestPlugin/jni/main.cpp b/tests/BrowserTestPlugin/jni/main.cpp
index e3ad4a7..c896ad5 100644
--- a/tests/BrowserTestPlugin/jni/main.cpp
+++ b/tests/BrowserTestPlugin/jni/main.cpp
@@ -65,7 +65,6 @@ ANPCanvasInterfaceV0 gCanvasI;
ANPLogInterfaceV0 gLogI;
ANPPaintInterfaceV0 gPaintI;
ANPPathInterfaceV0 gPathI;
-ANPSystemInterfaceV0 gSystemI;
ANPTypefaceInterfaceV0 gTypefaceI;
ANPWindowInterfaceV0 gWindowI;
@@ -135,7 +134,7 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
{
- gLogI.log(instance, kDebug_ANPLogType, "creating plugin");
+ gLogI.log(kDebug_ANPLogType, "creating plugin");
PluginObject *obj = NULL;
@@ -156,7 +155,7 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
NPError err = browser->setvalue(instance, kRequestDrawingModel_ANPSetValue,
reinterpret_cast<void*>(model));
if (err) {
- gLogI.log(instance, kError_ANPLogType, "request model %d err %d", model, err);
+ gLogI.log(kError_ANPLogType, "request model %d err %d", model, err);
return err;
}
@@ -221,7 +220,7 @@ int16 NPP_HandleEvent(NPP instance, void* event)
const ANPEvent* evt = reinterpret_cast<const ANPEvent*>(event);
if(!obj->subPlugin) {
- gLogI.log(instance, kError_ANPLogType, "the sub-plugin is null.");
+ gLogI.log(kError_ANPLogType, "the sub-plugin is null.");
return 0; // unknown or unhandled event
}
else {