summaryrefslogtreecommitdiffstats
path: root/gpu/demos/framework/main_pepper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/demos/framework/main_pepper.cc')
-rw-r--r--gpu/demos/framework/main_pepper.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/gpu/demos/framework/main_pepper.cc b/gpu/demos/framework/main_pepper.cc
index cf8f510..6937b62 100644
--- a/gpu/demos/framework/main_pepper.cc
+++ b/gpu/demos/framework/main_pepper.cc
@@ -90,11 +90,6 @@ void NPP_Print(NPP instance, NPPrint* platformPrint) {
}
int16 NPP_HandleEvent(NPP instance, void* event) {
- Plugin* plugin = static_cast<Plugin*>(instance->pdata);
-
- if (plugin)
- return plugin->HandleEvent(*static_cast<NPPepperEvent*>(event));
-
return 0;
}