From 78a6bba4bb3ab97681b8aff88edaa9e419c5cf8d Mon Sep 17 00:00:00 2001 From: Blake Kaplan Date: Mon, 1 Nov 2010 20:23:44 -0700 Subject: [PATCH] Fix more bustage. a=bustage --- js/src/jswrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jswrapper.cpp b/js/src/jswrapper.cpp index 808d8cde5ba4..a51d6dee4f71 100644 --- a/js/src/jswrapper.cpp +++ b/js/src/jswrapper.cpp @@ -310,7 +310,7 @@ TransparentObjectWrapper(JSContext *cx, JSObject *obj, JSObject *wrappedProto, J { // Allow wrapping outer window proxies. JS_ASSERT(!obj->isWrapper() || obj->getClass()->ext.innerObject); - return JSWrapper::New(cx, obj, wrappedProto, NULL, &JSCrossCompartmentWrapper::singleton); + return JSWrapper::New(cx, obj, wrappedProto, parent, &JSCrossCompartmentWrapper::singleton); } }