Bug 515257 - Remove bogus assertion on optgroup child removal. r=bnewman.

--HG--
extra : rebase_source : ea5f2690286d4dedefcc657472f3f56bf68ff5b6
This commit is contained in:
Henri Sivonen 2009-10-21 17:03:01 +03:00
Родитель 91914faed5
Коммит 2e0f448dd7
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -186,7 +186,6 @@ nsHTMLOptGroupElement::InsertChildAt(nsIContent* aKid,
nsresult
nsHTMLOptGroupElement::RemoveChildAt(PRUint32 aIndex, PRBool aNotify, PRBool aMutationEvent)
{
NS_ASSERTION(aMutationEvent, "Someone tried to inhibit mutation events on optgroup child removal.");
nsSafeOptionListMutation safeMutation(GetSelect(), this, nsnull, aIndex);
nsresult rv = nsGenericHTMLElement::RemoveChildAt(aIndex, aNotify, aMutationEvent);
if (NS_FAILED(rv)) {