Closed
Bug 724268
Opened 13 years ago
Closed 13 years ago
Simplify nsHTMLCSSUtils::GetDefaultViewCSS
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: Ms2ger, Assigned: Ms2ger)
Details
Attachments
(1 file)
2.57 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #594459 -
Flags: review?(ehsan)
Comment 1•13 years ago
|
||
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+
Assignee | ||
Comment 2•13 years ago
|
||
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.
Description
•