зеркало из https://github.com/mozilla/gecko-dev.git
Bug 326618: Remove assertion that we know can happen and that is no longer dangerous. r/sr=jst
This commit is contained in:
Родитель
97a5c30a94
Коммит
bf888a7955
|
@ -4112,8 +4112,6 @@ nsGenericElement::GetChildAt(PRUint32 aIndex) const
|
||||||
PRInt32
|
PRInt32
|
||||||
nsGenericElement::IndexOf(nsIContent* aPossibleChild) const
|
nsGenericElement::IndexOf(nsIContent* aPossibleChild) const
|
||||||
{
|
{
|
||||||
NS_PRECONDITION(nsnull != aPossibleChild, "null ptr");
|
|
||||||
|
|
||||||
return mAttrsAndChildren.IndexOfChild(aPossibleChild);
|
return mAttrsAndChildren.IndexOfChild(aPossibleChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче