зеркало из https://github.com/mozilla/pjs.git
Fix 59327: hwaara's patch to add an assertion. r=jag sr=blizzard
This commit is contained in:
Родитель
351181e16b
Коммит
419564bb7e
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче