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:
@@ -96,7 +96,7 @@ nsresult HTMLEmbedElement::BindToTree(Document* aDocument, nsIContent* aParent,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void HTMLEmbedElement::UnbindFromTree(bool aDeep, bool aNullParent) {
|
||||
void HTMLEmbedElement::UnbindFromTree(bool aNullParent) {
|
||||
#ifdef XP_MACOSX
|
||||
// When a page is reloaded (when an Document's content is removed), the
|
||||
// focused element isn't necessarily sent an eBlur event. See
|
||||
@@ -105,8 +105,8 @@ void HTMLEmbedElement::UnbindFromTree(bool aDeep, bool aNullParent) {
|
||||
// disable text input in the browser window. See bug 1137229.
|
||||
HTMLObjectElement::OnFocusBlurPlugin(this, false);
|
||||
#endif
|
||||
nsObjectLoadingContent::UnbindFromTree(aDeep, aNullParent);
|
||||
nsGenericHTMLElement::UnbindFromTree(aDeep, aNullParent);
|
||||
nsObjectLoadingContent::UnbindFromTree(aNullParent);
|
||||
nsGenericHTMLElement::UnbindFromTree(aNullParent);
|
||||
}
|
||||
|
||||
nsresult HTMLEmbedElement::AfterSetAttr(int32_t aNamespaceID, nsAtom* aName,
|
||||
|
||||
Reference in New Issue
Block a user