From fa3f6ebdd8bd5c2a905f40e44722fe3d14c695e6 Mon Sep 17 00:00:00 2001 From: Peter Van der Beken Date: Sun, 7 Feb 2010 11:48:09 +0100 Subject: [PATCH] Follow-up to fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode), remove obsolete comment. --- content/base/src/nsTreeWalker.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/content/base/src/nsTreeWalker.cpp b/content/base/src/nsTreeWalker.cpp index 6f77f259cecc..7206ac308a5b 100644 --- a/content/base/src/nsTreeWalker.cpp +++ b/content/base/src/nsTreeWalker.cpp @@ -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);