passing service manager instead of plugin host.

This commit is contained in:
beard%netscape.com 1999-03-06 22:31:28 +00:00
Родитель 7a5700a68e
Коммит 546f1dd623
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1769,7 +1769,7 @@ NS_IMETHODIMP nsPluginHostImpl::SetUpPluginInstance(const char *aMimeType,
{ {
// we have to load an old 4x style plugin // we have to load an old 4x style plugin
nsresult rv = ns4xPlugin::CreatePlugin(plugins->mLibrary, (nsIPlugin **)&plugins->mEntryPoint, nsresult rv = ns4xPlugin::CreatePlugin(plugins->mLibrary, (nsIPlugin **)&plugins->mEntryPoint,
(nsISupports*)(nsIPluginManager*) this); mServiceMgr);
} }
else else
{ {

Просмотреть файл

@ -1769,7 +1769,7 @@ NS_IMETHODIMP nsPluginHostImpl::SetUpPluginInstance(const char *aMimeType,
{ {
// we have to load an old 4x style plugin // we have to load an old 4x style plugin
nsresult rv = ns4xPlugin::CreatePlugin(plugins->mLibrary, (nsIPlugin **)&plugins->mEntryPoint, nsresult rv = ns4xPlugin::CreatePlugin(plugins->mLibrary, (nsIPlugin **)&plugins->mEntryPoint,
(nsISupports*)(nsIPluginManager*) this); mServiceMgr);
} }
else else
{ {