nsCommentNode::CloneNode(PRBool aDeep, nsIDOMNode** aReturn) { nsCOMPtr<nsITextContent> textContent = CloneContent(PR_TRUE, GetOwnerDoc()); NS_ENSURE_TRUE(textContent, NS_ERROR_OUT_OF_MEMORY);  return CallQueryInterface(textContent, aReturn); }
NS_IMPL_NSIDOMNODE_USING_GENERIC_DOM_DATA
nsCommentNode::CloneNode(PRBool aDeep, nsIDOMNode** aReturn){  nsCOMPtr<nsITextContent> textContent = CloneContent(PR_TRUE, GetOwnerDoc());  NS_ENSURE_TRUE(textContent, NS_ERROR_OUT_OF_MEMORY);  return CallQueryInterface(textContent, aReturn);}