Issue #2135 - Follow-up: Fix typo

This commit is contained in:
FranklinDM 2023-03-04 23:47:05 +08:00 committed by roytam1
commit 9cb33ab843

View file

@ -265,7 +265,7 @@ SVGUseElement::CreateAnonymousContent()
nullptr : OwnerDoc()->NodeInfoManager();
IgnoredErrorResult rv;
nsCOMPtr<nsINode> newnode =
nsNodeUtils::Clone(targetContent, true, nodeInfoManager, unused, rv);
nsNodeUtils::Clone(targetContent, true, nodeInfoManager, &unused, rv);
nsCOMPtr<nsIContent> newcontent = do_QueryInterface(newnode);
if (!newcontent)