Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb

This commit is contained in:
Andrea Marchesini
2018-01-23 14:30:18 +01:00
parent 6f6e5bf3fc
commit 8d41475807
51 changed files with 159 additions and 155 deletions

View File

@@ -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);
}