nsresult rv = mCurrentContext->AddComment(aNode);
if (!mSink) { return NS_ERROR_UNEXPECTED; }  nsCOMPtr<nsIContent> comment; nsresult rv = NS_NewCommentNode(getter_AddRefs(comment)); NS_ENSURE_SUCCESS(rv, rv);
HTMLContentSink::AddComment(const nsIParserNode& aNode){  MOZ_TIMER_DEBUGLOG(("Start: nsHTMLContentSink::AddComment()\n"));  MOZ_TIMER_START(mWatch);  nsresult rv = mCurrentContext->AddComment(aNode);  MOZ_TIMER_DEBUGLOG(("Stop: nsHTMLContentSink::AddComment()\n"));  MOZ_TIMER_STOP(mWatch);  return rv;}