Try to fix bustage.
authorPeter Van der Beken <peterv@propagandism.org>
Tue, 06 Apr 2010 17:02:28 +0200
changeset 40493 466f5249ac336b9e94fa3098474f47e2a3a26ec4
parent 40492 b974b6dca6ce6c97bab6903ac827ff839295a7a2
child 40494 1b80c3d9412f84b7d60fac9bae6b92e694db365c
push idunknown
push userunknown
push dateunknown
milestone1.9.3a4pre
Try to fix bustage.
js/src/xpconnect/src/xpcwrappednative.cpp
--- a/js/src/xpconnect/src/xpcwrappednative.cpp
+++ b/js/src/xpconnect/src/xpcwrappednative.cpp
@@ -3869,19 +3869,19 @@ ConstructSlimWrapper(XPCCallContext &ccx
     if(wrapper)
     {
         *rval = OBJECT_TO_JSVAL(wrapper);
 
         return JS_TRUE;
     }
 
     nsIClassInfo* classInfo = classInfoHelper;
+    PRUint32 interfacesBitmap = classInfoHelper->GetInterfacesBitmap();
     XPCNativeScriptableCreateInfo
-        sciProto(classInfoHelper.forget().get(), flags,
-                 classInfoHelper->GetInterfacesBitmap());
+        sciProto(classInfoHelper.forget().get(), flags, interfacesBitmap);
 
     AutoMarkingWrappedNativeProtoPtr xpcproto(ccx);
     JSBool isGlobal = JS_FALSE;
     xpcproto = XPCWrappedNativeProto::GetNewOrUsed(ccx, xpcScope, classInfo,
                                                    &sciProto, JS_FALSE,
                                                    isGlobal);
     if(!xpcproto)
         return JS_FALSE;