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:
bsmedberg%covad.net
2005-11-10 16:19:44 +00:00
parent 9fe570c5d5
commit d2bfe31839
17 changed files with 43 additions and 102 deletions

View File

@@ -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();
}