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

@@ -35,7 +35,7 @@ NS_IMPL_ELEMENT_CLONE(HTMLPictureElement)
void
HTMLPictureElement::RemoveChildAt(uint32_t aIndex, bool aNotify)
{
nsCOMPtr<nsIContent> child = GetChildAt(aIndex);
nsCOMPtr<nsIContent> child = GetChildAt_Deprecated(aIndex);
if (child && child->IsHTMLElement(nsGkAtoms::img)) {
HTMLImageElement* img = HTMLImageElement::FromContent(child);