mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Had the wrong clazz for the root! So it was better when the caching was broken. Now it works on MI objects with caching fixed. My bad copy/paste error from long ago.
This commit is contained in:
parent
65013f77f6
commit
dc13704f3f
@ -214,8 +214,8 @@ nsXPCWrappedNative::GetNewOrUsedWrapper(XPCContext* xpcc,
|
||||
if(!rootClazz)
|
||||
goto return_wrapper;
|
||||
|
||||
root = new nsXPCWrappedNative(xpcc, realObj, aScope,
|
||||
aGlobalObject, clazz, nsnull);
|
||||
root = new nsXPCWrappedNative(xpcc, rootObj, aScope,
|
||||
aGlobalObject, rootClazz, nsnull);
|
||||
NS_RELEASE(rootClazz);
|
||||
|
||||
if(!root)
|
||||
|
Loading…
Reference in New Issue
Block a user