Followup to review comment for bug 534866: don't set fCallbacks.size twice on MacOSX.

This commit is contained in:
Benjamin Smedberg 2009-12-16 09:10:30 -05:00
parent b51dfb8d55
commit 716afda214

View File

@ -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;