nsresult PluginModuleParent::HandleGUIEvent(NPP instance, const nsGUIEvent& anEvent, bool* handled) { PluginInstanceParent* i = InstCast(instance); if (!i) return NS_ERROR_FAILURE; return i->HandleGUIEvent(anEvent, handled); }