Bug 1555143 - Remove unused aDeep argument from UnbindFromTree. r=bzbarsky

$ for file in $(rg UnbindFromTree | cut -d : -f 1 | sort | uniq); do sed -i 's#UnbindFromTree(bool aDeep = true,#UnbindFromTree(#g' $file; done
$ for file in $(rg UnbindFromTree | cut -d : -f 1 | sort | uniq); do sed -i 's#UnbindFromTree(bool aDeep,#UnbindFromTree(#g' $file; done
$ for file in $(rg UnbindFromTree | cut -d : -f 1 | sort | uniq); do sed -i 's#UnbindFromTree(aDeep,#UnbindFromTree(#g' $file; done
$ ./mach clang-format

And fix the two callers and little use of the aDeep argument (see the "Manual
changes" patch attached to bug).

Differential Revision: https://phabricator.services.mozilla.com/D32898
This commit is contained in:
Emilio Cobos Álvarez
2019-05-28 22:47:08 +00:00
parent 2f71ec7ab9
commit 9160cd2967
94 changed files with 154 additions and 190 deletions

View File

@@ -1033,9 +1033,9 @@ nsresult HTMLTableElement::BindToTree(Document* aDocument, nsIContent* aParent,
return NS_OK;
}
void HTMLTableElement::UnbindFromTree(bool aDeep, bool aNullParent) {
void HTMLTableElement::UnbindFromTree(bool aNullParent) {
ReleaseInheritedAttributes();
nsGenericHTMLElement::UnbindFromTree(aDeep, aNullParent);
nsGenericHTMLElement::UnbindFromTree(aNullParent);
}
nsresult HTMLTableElement::BeforeSetAttr(int32_t aNameSpaceID, nsAtom* aName,