backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@242883 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -91,11 +91,12 @@ static PyObject *PyGetIID(PyObject *self, PyObject *args)
|
||||
nsIID *iid_ret;
|
||||
nsresult r;
|
||||
Py_BEGIN_ALLOW_THREADS;
|
||||
r = pI->GetIIDShared(&iid_ret);
|
||||
r = pI->GetInterfaceIID(&iid_ret);
|
||||
Py_END_ALLOW_THREADS;
|
||||
if ( NS_FAILED(r) )
|
||||
return PyXPCOM_BuildPyException(r);
|
||||
PyObject *ret = Py_nsIID::PyObjectFromIID(*iid_ret);
|
||||
nsMemory::Free(iid_ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user