Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
MozReview-Commit-ID: 202nkbmkwfR
This commit is contained in:
@@ -142,7 +142,7 @@ HTMLOptGroupElement::AfterSetAttr(int32_t aNameSpaceID, nsAtom* aName,
|
||||
// disabled attribute. We should make sure their state is updated.
|
||||
for (nsIContent* child = nsINode::GetFirstChild(); child;
|
||||
child = child->GetNextSibling()) {
|
||||
if (auto optElement = HTMLOptionElement::FromContent(child)) {
|
||||
if (auto optElement = HTMLOptionElement::FromNode(child)) {
|
||||
optElement->OptGroupDisabledChanged(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user