зеркало из https://github.com/mozilla/gecko-dev.git
Fix for 87913 -- adding refreshing components to plugins.refresh(), r=mstolz, peterl, sr=shaver, attinasi
This commit is contained in:
Родитель
3ee52d160b
Коммит
a8988e86fa
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче