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

@@ -152,7 +152,7 @@ HTMLFieldSetElement::InsertChildAt(nsIContent* aChild, uint32_t aIndex,
} else {
// If mFirstLegend is before aIndex, we do not change it.
// Otherwise, mFirstLegend is now aChild.
if (int32_t(aIndex) <= IndexOf(mFirstLegend)) {
if (int32_t(aIndex) <= ComputeIndexOf(mFirstLegend)) {
mFirstLegend = aChild;
firstLegendHasChanged = true;
}