Fix 59327: hwaara's patch to add an assertion. r=jag sr=blizzard

git-svn-id: svn://10.0.0.236/trunk@85037 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blakeross%telocity.com
2001-01-17 20:01:11 +00:00
parent 09f067f6ba
commit 575affbf87
2 changed files with 2 additions and 0 deletions

View File

@@ -4983,6 +4983,7 @@ nsHTMLEditRules::FindNearSelectableNode(nsIDOMNode *aSelNode,
nsresult
nsHTMLEditRules::InDifferentTableElements(nsIDOMNode *aNode1, nsIDOMNode *aNode2, PRBool *aResult)
{
NS_ASSERTION(aNode1 && aNode2 && aResult, "null args");
if (!aNode1 || !aNode2 || !aResult) return NS_ERROR_NULL_POINTER;
nsCOMPtr<nsIDOMNode> tn1, tn2, node = aNode1, temp;