Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku

This commit is contained in:
Jonathan Watt
2016-03-31 11:58:25 +01:00
parent 9b45b36a7e
commit d714197cfc
36 changed files with 65 additions and 73 deletions

View File

@@ -386,7 +386,7 @@ HTMLMenuItemElement::AfterSetAttr(int32_t aNameSpaceID, nsIAtom* aName,
if ((aName == nsGkAtoms::radiogroup || aName == nsGkAtoms::type) &&
mType == CMD_TYPE_RADIO &&
!mParserCreating) {
if (IsInDoc() && GetParent()) {
if (IsInUncomposedDoc() && GetParent()) {
AddedToRadioGroup();
}
}