Follow-up to fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode), remove obsolete comment.

This commit is contained in:
Peter Van der Beken 2010-02-07 11:48:09 +01:00
parent 1cf0fb5154
commit fa3f6ebdd8

View File

@ -146,7 +146,6 @@ NS_IMETHODIMP nsTreeWalker::SetCurrentNode(nsIDOMNode * aCurrentNode)
{
NS_ENSURE_TRUE(aCurrentNode, NS_ERROR_DOM_NOT_SUPPORTED_ERR);
// This QI is dumb, but this shouldn't be a critical operation
nsresult rv = nsContentUtils::CheckSameOrigin(mRoot, aCurrentNode);
NS_ENSURE_SUCCESS(rv, rv);