fix typo bug that was causing wrapper cache misses on wrapper around objects implementing multiple interfaces when the first wrapper is made for an interface that is not leftmost

This commit is contained in:
jband%netscape.com 2000-04-20 03:38:47 +00:00
parent 37ac42660e
commit a0b141afcc

View File

@ -214,7 +214,7 @@ nsXPCWrappedNative::GetNewOrUsedWrapper(XPCContext* xpcc,
if(!rootClazz)
goto return_wrapper;
root = new nsXPCWrappedNative(xpcc, realObj, aScope,
root = new nsXPCWrappedNative(xpcc, rootObj, aScope,
aGlobalObject, clazz, nsnull);
NS_RELEASE(rootClazz);