From 42d0478ba86d8d0b573f8a4cd7af7ca2cc08f5b9 Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Mon, 1 Nov 1999 20:37:13 +0000 Subject: [PATCH] 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 --- mozilla/xpcom/proxy/src/nsProxyObjectManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/proxy/src/nsProxyObjectManager.cpp b/mozilla/xpcom/proxy/src/nsProxyObjectManager.cpp index e597767794d..c8c12d1a994 100644 --- a/mozilla/xpcom/proxy/src/nsProxyObjectManager.cpp +++ b/mozilla/xpcom/proxy/src/nsProxyObjectManager.cpp @@ -181,12 +181,12 @@ nsProxyObjectManager::GetProxyObject(nsIEventQueue *destQueue, REFNSIID aIID, ns } } - nsCOMPtr 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;