mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Use native ptr [via .get()]
This commit is contained in:
parent
86f0302402
commit
898f051fc7
@ -1633,7 +1633,7 @@ XULSortServiceImpl::InsertContainerNode(nsIRDFCompositeDataSource *db, nsIRDFDat
|
||||
container->AppendChildTo(node, aNotify);
|
||||
}
|
||||
|
||||
if ((cacheHandle) && (sortInfo.mInner) && ((*cacheHandle) != sortInfo.mInner))
|
||||
if ((cacheHandle) && (sortInfo.mInner) && ((*cacheHandle) != sortInfo.mInner.get()))
|
||||
{
|
||||
*cacheHandle = sortInfo.mInner;
|
||||
NS_ADDREF(*cacheHandle);
|
||||
|
@ -1633,7 +1633,7 @@ XULSortServiceImpl::InsertContainerNode(nsIRDFCompositeDataSource *db, nsIRDFDat
|
||||
container->AppendChildTo(node, aNotify);
|
||||
}
|
||||
|
||||
if ((cacheHandle) && (sortInfo.mInner) && ((*cacheHandle) != sortInfo.mInner))
|
||||
if ((cacheHandle) && (sortInfo.mInner) && ((*cacheHandle) != sortInfo.mInner.get()))
|
||||
{
|
||||
*cacheHandle = sortInfo.mInner;
|
||||
NS_ADDREF(*cacheHandle);
|
||||
|
Loading…
Reference in New Issue
Block a user