From 546f1dd623e4d5f06238408e7dbf69992cd142d1 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Sat, 6 Mar 1999 22:31:28 +0000 Subject: [PATCH] passing service manager instead of plugin host. --- modules/plugin/base/src/nsPluginHostImpl.cpp | 2 +- modules/plugin/nglsrc/nsPluginHostImpl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/plugin/base/src/nsPluginHostImpl.cpp b/modules/plugin/base/src/nsPluginHostImpl.cpp index 790b47e9769b..2fe075eed980 100644 --- a/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -1769,7 +1769,7 @@ NS_IMETHODIMP nsPluginHostImpl::SetUpPluginInstance(const char *aMimeType, { // we have to load an old 4x style plugin nsresult rv = ns4xPlugin::CreatePlugin(plugins->mLibrary, (nsIPlugin **)&plugins->mEntryPoint, - (nsISupports*)(nsIPluginManager*) this); + mServiceMgr); } else { diff --git a/modules/plugin/nglsrc/nsPluginHostImpl.cpp b/modules/plugin/nglsrc/nsPluginHostImpl.cpp index 790b47e9769b..2fe075eed980 100644 --- a/modules/plugin/nglsrc/nsPluginHostImpl.cpp +++ b/modules/plugin/nglsrc/nsPluginHostImpl.cpp @@ -1769,7 +1769,7 @@ NS_IMETHODIMP nsPluginHostImpl::SetUpPluginInstance(const char *aMimeType, { // we have to load an old 4x style plugin nsresult rv = ns4xPlugin::CreatePlugin(plugins->mLibrary, (nsIPlugin **)&plugins->mEntryPoint, - (nsISupports*)(nsIPluginManager*) this); + mServiceMgr); } else {