Fix breakage caused by the death of XPTI_GetInterfaceInfoManager.
Not part of the build. git-svn-id: svn://10.0.0.236/trunk@185779 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -171,7 +171,8 @@ Py_nsIID::PyTypeMethod_getattr(PyObject *self, char *name)
|
||||
Py_nsIID *me = (Py_nsIID *)self;
|
||||
if (strcmp(name, "name")==0) {
|
||||
char *iid_repr = nsnull;
|
||||
nsCOMPtr<nsIInterfaceInfoManager> iim = XPTI_GetInterfaceInfoManager();
|
||||
nsCOMPtr<nsIInterfaceInfoManager> iim(do_GetService(
|
||||
NS_INTERFACEINFOMANAGER_SERVICE_CONTRACTID));
|
||||
if (iim!=nsnull)
|
||||
iim->GetNameForIID(&me->m_iid, &iid_repr);
|
||||
if (iid_repr==nsnull)
|
||||
|
||||
Reference in New Issue
Block a user