Bug 1481601 - Remove now-useless aPreallocateChildren from nsINode::Clone() and friends. r=bzbarsky
Since sed on multiple lines ended up being such a pain and I didn't end up writing a script for this because I didn't think it'd end up being so boring, I may have made a couple cleanups here and there as well... Differential Revision: https://phabricator.services.mozilla.com/D2887
This commit is contained in:
@@ -313,13 +313,13 @@ HTMLEmbedElement::DestroyContent()
|
||||
}
|
||||
|
||||
nsresult
|
||||
HTMLEmbedElement::CopyInnerTo(Element* aDest, bool aPreallocateChildren)
|
||||
HTMLEmbedElement::CopyInnerTo(HTMLEmbedElement* aDest)
|
||||
{
|
||||
nsresult rv = nsGenericHTMLElement::CopyInnerTo(aDest, aPreallocateChildren);
|
||||
nsresult rv = nsGenericHTMLElement::CopyInnerTo(aDest);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (aDest->OwnerDoc()->IsStaticDocument()) {
|
||||
CreateStaticClone(static_cast<HTMLEmbedElement*>(aDest));
|
||||
CreateStaticClone(aDest);
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user