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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user