109973 -- passing plugin creation parameters to the plugin instance, not part of the build
git-svn-id: svn://10.0.0.236/trunk@107999 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -58,9 +58,12 @@ void NS_PluginShutdown()
|
||||
//
|
||||
// construction and destruction of our plugin instance object
|
||||
//
|
||||
nsPluginInstanceBase * NS_NewPluginInstance(NPP aInstance)
|
||||
nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStruct)
|
||||
{
|
||||
nsPluginInstance * plugin = new nsPluginInstance(aInstance);
|
||||
if(!aCreateDataStruct)
|
||||
return NULL;
|
||||
|
||||
nsPluginInstance * plugin = new nsPluginInstance(aCreateDataStruct->instance);
|
||||
return plugin;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user