mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Followup to review comment for bug 534866: don't set fCallbacks.size twice on MacOSX.
This commit is contained in:
parent
b51dfb8d55
commit
716afda214
@ -261,7 +261,6 @@ nsNPAPIPlugin::nsNPAPIPlugin(NPPluginFuncs* callbacks,
|
||||
if (gepResult != NS_OK || gepError != NPERR_NO_ERROR)
|
||||
return;
|
||||
|
||||
fCallbacks.size = sizeof(fCallbacks);
|
||||
fCallbacks.version = np_callbacks.version;
|
||||
fCallbacks.newp = (NPP_NewProcPtr)np_callbacks.newp;
|
||||
fCallbacks.destroy = (NPP_DestroyProcPtr)np_callbacks.destroy;
|
||||
|
Loading…
Reference in New Issue
Block a user