mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
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:
parent
37ac42660e
commit
a0b141afcc
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user