From daa944ac1c4313e86a64de91e9e55e187cb4cd88 Mon Sep 17 00:00:00 2001 From: "peterv@propagandism.org" Date: Fri, 18 Jan 2008 05:59:07 -0800 Subject: [PATCH] Back out to try to fix orange. --- js/src/xpconnect/src/xpcwrappednativeinfo.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/src/xpconnect/src/xpcwrappednativeinfo.cpp b/js/src/xpconnect/src/xpcwrappednativeinfo.cpp index 57da1442401..e2b7fde114f 100644 --- a/js/src/xpconnect/src/xpcwrappednativeinfo.cpp +++ b/js/src/xpconnect/src/xpcwrappednativeinfo.cpp @@ -193,9 +193,6 @@ XPCNativeMember::Resolve(XPCCallContext& ccx, XPCNativeInterface* iface) AUTO_MARK_JSVAL(ccx, OBJECT_TO_JSVAL(funobj)); - STOBJ_SET_PARENT(funobj, nsnull); - STOBJ_SET_PROTO(funobj, nsnull); - if(!JS_SetReservedSlot(ccx, funobj, 0, PRIVATE_TO_JSVAL(iface))|| !JS_SetReservedSlot(ccx, funobj, 1, PRIVATE_TO_JSVAL(this))) return JS_FALSE;