зеркало из https://github.com/mozilla/pjs.git
Enabling calling HandleEvent for winless plugins on Windows
This commit is contained in:
Родитель
61486a51c5
Коммит
1bce801e7c
|
@ -533,11 +533,12 @@ 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
|
||||
#if defined(XP_MAC) || defined(XP_WIN) //~~~
|
||||
res = CallNPP_HandleEventProc(fCallbacks->event,
|
||||
&fNPP,
|
||||
(void*) event->event);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
*handled = res;
|
||||
|
|
|
@ -533,11 +533,12 @@ 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
|
||||
#if defined(XP_MAC) || defined(XP_WIN) //~~~
|
||||
res = CallNPP_HandleEventProc(fCallbacks->event,
|
||||
&fNPP,
|
||||
(void*) event->event);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
*handled = res;
|
||||
|
|
Загрузка…
Ссылка в новой задаче