Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb

We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
This commit is contained in:
Andrea Marchesini
2018-01-03 13:59:54 +01:00
parent 6d2971ac0d
commit 98865c5324
50 changed files with 124 additions and 120 deletions

View File

@@ -174,7 +174,7 @@ HTMLFieldSetElement::RemoveChildAt(uint32_t aIndex, bool aNotify)
{
bool firstLegendHasChanged = false;
if (mFirstLegend && (GetChildAt(aIndex) == mFirstLegend)) {
if (mFirstLegend && (GetChildAt_Deprecated(aIndex) == mFirstLegend)) {
// If we are removing the first legend we have to found another one.
nsIContent* child = mFirstLegend->GetNextSibling();
mFirstLegend = nullptr;