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:
@@ -230,17 +230,14 @@ HTMLObjectElement::PostHandleEvent(EventChainPostVisitor& aVisitor)
|
||||
nsresult
|
||||
HTMLObjectElement::BindToTree(nsIDocument *aDocument,
|
||||
nsIContent *aParent,
|
||||
nsIContent *aBindingParent,
|
||||
bool aCompileEventHandlers)
|
||||
nsIContent *aBindingParent)
|
||||
{
|
||||
nsresult rv = nsGenericHTMLFormElement::BindToTree(aDocument, aParent,
|
||||
aBindingParent,
|
||||
aCompileEventHandlers);
|
||||
aBindingParent);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
rv = nsObjectLoadingContent::BindToTree(aDocument, aParent,
|
||||
aBindingParent,
|
||||
aCompileEventHandlers);
|
||||
aBindingParent);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// Don't kick off load from being bound to a plugin document - the plugin
|
||||
|
||||
Reference in New Issue
Block a user