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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user