Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst
git-svn-id: svn://10.0.0.236/trunk@184401 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5087,7 +5087,9 @@ NS_IMETHODIMP nsPluginHostImpl::LoadPlugins()
|
||||
// only if plugins have changed will we ask XPTI to refresh
|
||||
if (pluginschanged) {
|
||||
// rescan XPTI to catch any newly installed interfaces
|
||||
nsCOMPtr<nsIInterfaceInfoManager> iim (dont_AddRef(XPTI_GetInterfaceInfoManager()));
|
||||
nsCOMPtr<nsIInterfaceInfoManager>
|
||||
iim(do_GetService(NS_INTERFACEINFOMANAGER_SERVICE_CONTRACTID));
|
||||
|
||||
if (iim)
|
||||
iim->AutoRegisterInterfaces();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user