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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user