From 733973188fd1018d3a368a4f8d31155907eeed29 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 57da14424019..e2b7fde114f5 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;