зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
b059fa0e79
Коммит
9b08d1ac85
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче