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:
@@ -180,14 +180,14 @@ nsMapRuleToAttributesFunc HTMLVideoElement::GetAttributeMappingFunction()
|
||||
return &MapAttributesIntoRule;
|
||||
}
|
||||
|
||||
void HTMLVideoElement::UnbindFromTree(bool aDeep, bool aNullParent) {
|
||||
void HTMLVideoElement::UnbindFromTree(bool aNullParent) {
|
||||
if (mVisualCloneSource) {
|
||||
mVisualCloneSource->EndCloningVisually();
|
||||
} else if (mVisualCloneTarget) {
|
||||
EndCloningVisually();
|
||||
}
|
||||
|
||||
HTMLMediaElement::UnbindFromTree(aDeep, aNullParent);
|
||||
HTMLMediaElement::UnbindFromTree(aNullParent);
|
||||
}
|
||||
|
||||
nsresult HTMLVideoElement::SetAcceptHeader(nsIHttpChannel* aChannel) {
|
||||
|
||||
Reference in New Issue
Block a user