Closed Bug 724268 Opened 13 years ago Closed 13 years ago

Simplify nsHTMLCSSUtils::GetDefaultViewCSS

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 #594459 - Flags: review?(ehsan)
Comment on attachment 594459 [details] [diff] [review] Patch v1 Review of attachment 594459 [details] [diff] [review]: ----------------------------------------------------------------- ::: editor/libeditor/html/nsHTMLCSSUtils.cpp @@ +593,3 @@ > NS_ENSURE_TRUE(element, NS_ERROR_NULL_POINTER); > > + nsCOMPtr<nsIDOMWindow> window = element->OwnerDoc()->GetWindow(); Please add a check to return a failure code if |window| is null here.
Attachment #594459 - Flags: review?(ehsan) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: