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:
jband%netscape.com 2000-04-20 12:16:45 +00:00
Родитель b059fa0e79
Коммит 9b08d1ac85
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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)