Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc
This commit is contained in:
@@ -267,8 +267,7 @@ nsHTMLEditor::CreateGrabber(nsIDOMNode * aParentNode, nsIDOMElement ** aReturn)
|
||||
PR_FALSE,
|
||||
aReturn);
|
||||
|
||||
if (!*aReturn)
|
||||
return NS_ERROR_FAILURE;
|
||||
NS_ENSURE_TRUE(*aReturn, NS_ERROR_FAILURE);
|
||||
|
||||
// add the mouse listener so we can detect a click on a resizer
|
||||
nsCOMPtr<nsIDOMEventTarget> evtTarget(do_QueryInterface(*aReturn));
|
||||
|
||||
Reference in New Issue
Block a user