зеркало из https://github.com/mozilla/pjs.git
updating for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface|
This commit is contained in:
Родитель
1c7faf18c0
Коммит
b5e4065bfb
|
@ -1098,7 +1098,7 @@ rdf_ContainerIndexOf(nsIRDFDataSource* aDataSource,
|
|||
return rv;
|
||||
}
|
||||
|
||||
if (element != nsCOMPtr<nsIRDFNode>(aElement))
|
||||
if (element != nsCOMPtr<nsIRDFNode>( do_QueryInterface(aElement)) )
|
||||
continue;
|
||||
|
||||
*aIndex = index;
|
||||
|
|
Загрузка…
Ссылка в новой задаче