Bug 453736 followup. Make sure to call Init() on the <script> clone. r+sr=sicking pending
git-svn-id: svn://10.0.0.236/trunk@256577 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e1afc45c27
commit
f8ad510022
@ -162,7 +162,8 @@ nsSVGScriptElement::Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const
|
||||
}
|
||||
|
||||
nsCOMPtr<nsINode> kungFuDeathGrip = it;
|
||||
nsresult rv = CopyInnerTo(it);
|
||||
nsresult rv = it->Init();
|
||||
rv |= CopyInnerTo(it);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// The clone should be marked evaluated if we are.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user