mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Forgot to remove bogus NS_NOTREACHED line in IsMozEditorBogusNode().
This commit is contained in:
parent
9ef6758595
commit
ee76e82f41
@ -3239,10 +3239,7 @@ PRBool
|
||||
nsEditor::IsMozEditorBogusNode(nsIDOMNode *aNode)
|
||||
{
|
||||
if (!aNode)
|
||||
{
|
||||
NS_NOTREACHED("null node passed to IsTextNode()");
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIDOMElement>element;
|
||||
element = do_QueryInterface(aNode);
|
||||
|
@ -3239,10 +3239,7 @@ PRBool
|
||||
nsEditor::IsMozEditorBogusNode(nsIDOMNode *aNode)
|
||||
{
|
||||
if (!aNode)
|
||||
{
|
||||
NS_NOTREACHED("null node passed to IsTextNode()");
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIDOMElement>element;
|
||||
element = do_QueryInterface(aNode);
|
||||
|
Loading…
Reference in New Issue
Block a user