Closed Bug 722416 Opened 10 years ago Closed 10 years ago

Outparamdel nsHTMLCSSUtils::GetElementContainerOrSelf

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Details

Attachments

(1 file)

Attached patch Patch v1Splinter Review
No description provided.
Attachment #592808 - Flags: review?(ehsan)
Comment on attachment 592808 [details] [diff] [review]
Patch v1

Review of attachment 592808 [details] [diff] [review]:
-----------------------------------------------------------------

::: editor/libeditor/html/nsHTMLCSSUtils.cpp
@@ +1329,3 @@
>  
> +  if (nsIDOMNode::DOCUMENT_NODE == node->NodeType()) {
> +    return NULL;

nsnull!

@@ +1337,3 @@
>    }
> +
> +  NS_ENSURE_TRUE(node, NULL);

Need I say more? ;)
Attachment #592808 - Flags: review?(ehsan) → review+
https://hg.mozilla.org/mozilla-central/rev/a343b016963b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.