From 50514f69616d3a1d7134f07ef94aa720c2e17595 Mon Sep 17 00:00:00 2001 From: "dougt%netscape.com" Date: Mon, 10 May 1999 20:15:02 +0000 Subject: [PATCH] Getting it to compile on the mac. --- xpcom/proxy/src/nsProxyEventObject.cpp | 2 +- xpcom/proxy/src/nsProxyEventPrivate.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xpcom/proxy/src/nsProxyEventObject.cpp b/xpcom/proxy/src/nsProxyEventObject.cpp index 9f15971841a2..2ed534982063 100644 --- a/xpcom/proxy/src/nsProxyEventObject.cpp +++ b/xpcom/proxy/src/nsProxyEventObject.cpp @@ -74,7 +74,7 @@ nsProxyEventObject::GetNewOrUsedProxy(PLEventQueue *destQueue, else { // build the root proxy - if (aObj = rootObject) + if (aObj == rootObject) { // the root will do double duty as the interface wrapper proxy = root = new nsProxyEventObject(destQueue, aObj, clazz, nsnull); diff --git a/xpcom/proxy/src/nsProxyEventPrivate.h b/xpcom/proxy/src/nsProxyEventPrivate.h index 19fc1c968961..027f47e6a1ce 100644 --- a/xpcom/proxy/src/nsProxyEventPrivate.h +++ b/xpcom/proxy/src/nsProxyEventPrivate.h @@ -98,11 +98,11 @@ public: virtual ~nsProxyEventObject(); private: - nsProxyEventObject::nsProxyEventObject(); // not implemented - nsProxyEventObject::nsProxyEventObject(PLEventQueue *destQueue, - nsISupports* aObj, - nsProxyEventClass* aClass, - nsProxyEventObject* root); + nsProxyEventObject(); // not implemented + nsProxyEventObject(PLEventQueue *destQueue, + nsISupports* aObj, + nsProxyEventClass* aClass, + nsProxyEventObject* root); nsProxyObject* mProxyObject;