removing early xpcom proxy release change from earlier in the weekend.

git-svn-id: svn://10.0.0.236/trunk@52407 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
valeski%netscape.com 1999-11-01 20:37:13 +00:00
parent bd12ec528f
commit 42d0478ba8

View File

@ -181,12 +181,12 @@ nsProxyObjectManager::GetProxyObject(nsIEventQueue *destQueue, REFNSIID aIID, ns
}
}
nsCOMPtr<nsISupports> realObject;
nsISupports* realObject;
// we need to do make sure that we addref the passed in object as well as ensure
// that it is of the requested IID;
rv = aObj->QueryInterface(aIID, getter_AddRefs(realObject));
rv = aObj->QueryInterface(aIID, (void**)&realObject);
if ( NS_FAILED( rv ) )
return rv;