Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc

This commit is contained in:
Ehsan Akhgari
2010-06-17 16:40:48 -04:00
parent f32700d4f7
commit ea32707944
41 changed files with 487 additions and 968 deletions

View File

@@ -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));