Fix for 87913 -- adding refreshing components to plugins.refresh(), r=mstolz, peterl, sr=shaver, attinasi

This commit is contained in:
av%netscape.com 2001-07-17 02:26:42 +00:00
Родитель 3ee52d160b
Коммит a8988e86fa
2 изменённых файлов: 6 добавлений и 0 удалений

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

@ -2351,6 +2351,9 @@ nsresult nsPluginHostImpl::ReloadPlugins(PRBool reloadPages)
// set flags
mPluginsLoaded = PR_FALSE;
//refresh the component registry first
nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, nsnull);
// load them again
nsresult rv = LoadPlugins();

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

@ -2351,6 +2351,9 @@ nsresult nsPluginHostImpl::ReloadPlugins(PRBool reloadPages)
// set flags
mPluginsLoaded = PR_FALSE;
//refresh the component registry first
nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, nsnull);
// load them again
nsresult rv = LoadPlugins();