Bug 1134280 - Get rid of Tag() - patch 2.8 - dom/html - Fix all the occurrences, m=smaug, r=surkov
This commit is contained in:
@@ -46,7 +46,7 @@ HTMLPictureElement::RemoveChildAt(uint32_t aIndex, bool aNotify)
|
||||
// Find all img siblings after this <source> to notify them of its demise
|
||||
nsCOMPtr<nsINode> child = GetChildAt(aIndex);
|
||||
nsCOMPtr<nsIContent> nextSibling;
|
||||
if (child && child->Tag() == nsGkAtoms::source) {
|
||||
if (child && child->IsHTMLElement(nsGkAtoms::source)) {
|
||||
nextSibling = child->GetNextSibling();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user