Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb
This commit is contained in:
@@ -98,8 +98,8 @@ HTMLOptGroupElement::RemoveChildAt_Deprecated(uint32_t aIndex, bool aNotify)
|
||||
void
|
||||
HTMLOptGroupElement::RemoveChildNode(nsIContent* aKid, bool aNotify)
|
||||
{
|
||||
SafeOptionListMutation safeMutation(GetSelect(), this, nullptr, IndexOf(aKid),
|
||||
aNotify);
|
||||
SafeOptionListMutation safeMutation(GetSelect(), this, nullptr,
|
||||
ComputeIndexOf(aKid), aNotify);
|
||||
nsGenericHTMLElement::RemoveChildNode(aKid, aNotify);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user