we now defer plugin enumeration until we need to load one for real.

git-svn-id: svn://10.0.0.236/trunk@11579 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
michaelp%netscape.com
1998-09-30 18:59:03 +00:00
parent 1143a7d6da
commit 43810cc9dd
2 changed files with 2 additions and 10 deletions

View File

@@ -325,7 +325,6 @@ nsresult nsWebShell::CreatePluginHost(PRBool aAllowPlugins)
(void **)&mPluginHost))
{
mPluginHost->Init();
mPluginHost->LoadPlugins();
}
}
}
@@ -382,10 +381,7 @@ nsWebShell::~nsWebShell()
NS_IF_RELEASE(mInnerWindow);
NS_IF_RELEASE(mContentViewer);
if (nsnull != mDeviceContext) {
mDeviceContext->FlushFontCache();
NS_RELEASE(mDeviceContext);
}
NS_IF_RELEASE(mDeviceContext);
NS_IF_RELEASE(mPrefs);
NS_IF_RELEASE(mContainer);
NS_IF_RELEASE(mObserver);