Bug 1479860: Remove unused aCompileEventHandlers argument from BindToTree. r=bz
Mostly automatic via sed. Only parts which I touched manually (apart from a couple ones where I fixed indentation or which had mispelled arguments) are the callers. I may have removed a couple redundant `virtual` keywords as well when I started to do it manually, I can revert those if wanted. Most of them are just removing the argument, but in Element.cpp I also added an assertion for GetBindingParent when binding the ShadowRoot's kids (the binding parent is set from the ShadowRoot constructor, and I don't think we bind a shadow tree during unlink or what not which could cause a behavior difference). Differential Revision: https://phabricator.services.mozilla.com/D2574 MozReview-Commit-ID: 2oIgatty2HU
This commit is contained in:
@@ -1108,12 +1108,10 @@ HTMLSelectElement::SelectSomething(bool aNotify)
|
||||
|
||||
nsresult
|
||||
HTMLSelectElement::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
|
||||
nsIContent* aBindingParent,
|
||||
bool aCompileEventHandlers)
|
||||
nsIContent* aBindingParent)
|
||||
{
|
||||
nsresult rv = nsGenericHTMLFormElementWithState::BindToTree(aDocument, aParent,
|
||||
aBindingParent,
|
||||
aCompileEventHandlers);
|
||||
aBindingParent);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// If there is a disabled fieldset in the parent chain, the element is now
|
||||
|
||||
Reference in New Issue
Block a user