summaryrefslogtreecommitdiffstats
path: root/samples/BrowserPlugin/jni/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/BrowserPlugin/jni/main.cpp')
-rw-r--r--samples/BrowserPlugin/jni/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/samples/BrowserPlugin/jni/main.cpp b/samples/BrowserPlugin/jni/main.cpp
index 119081c6b..b5aea95ad 100644
--- a/samples/BrowserPlugin/jni/main.cpp
+++ b/samples/BrowserPlugin/jni/main.cpp
@@ -33,7 +33,6 @@
#include "BackgroundPlugin.h"
#include "FormPlugin.h"
#include "PaintPlugin.h"
-#include "SurfacePlugin.h"
#include "android_npapi.h"
NPNetscapeFuncs* browser;
@@ -213,10 +212,6 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
obj->pluginType = kPaint_PluginType;
obj->activePlugin = new PaintPlugin(instance);
}
- else if (!strcmp(argv[i], "RGBA_Surface")) {
- obj->pluginType = kSurface_PluginType;
- obj->activePlugin = new SurfacePlugin(instance, kRGBA_ANPSurfaceType);
- }
gLogI.log(instance, kDebug_ANPLogType, "------ %p PluginType is %d", instance, obj->pluginType);
break;
}