diff --git a/mozilla/modules/plugin/base/src/ns4xPluginInstance.cpp b/mozilla/modules/plugin/base/src/ns4xPluginInstance.cpp index a48f0f7cc3e..9ccfbea36fb 100644 --- a/mozilla/modules/plugin/base/src/ns4xPluginInstance.cpp +++ b/mozilla/modules/plugin/base/src/ns4xPluginInstance.cpp @@ -532,9 +532,11 @@ NS_IMETHODIMP ns4xPluginInstance::HandleEvent(nsPluginEvent* event, PRBool* hand #if !TARGET_CARBON // pinkerton // relies on routine descriptors, not present in carbon. We need to fix this. +#ifdef XP_MAC res = CallNPP_HandleEventProc(fCallbacks->event, &fNPP, (void*) event->event); +#endif #endif *handled = res; diff --git a/mozilla/modules/plugin/nglsrc/ns4xPluginInstance.cpp b/mozilla/modules/plugin/nglsrc/ns4xPluginInstance.cpp index a48f0f7cc3e..9ccfbea36fb 100644 --- a/mozilla/modules/plugin/nglsrc/ns4xPluginInstance.cpp +++ b/mozilla/modules/plugin/nglsrc/ns4xPluginInstance.cpp @@ -532,9 +532,11 @@ NS_IMETHODIMP ns4xPluginInstance::HandleEvent(nsPluginEvent* event, PRBool* hand #if !TARGET_CARBON // pinkerton // relies on routine descriptors, not present in carbon. We need to fix this. +#ifdef XP_MAC res = CallNPP_HandleEventProc(fCallbacks->event, &fNPP, (void*) event->event); +#endif #endif *handled = res;