Closed Bug 751323 Opened 13 years ago Closed 13 years ago

Cleanup nsHTMLEditRules::RemoveEmptyNodes()

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Details

Attachments

(1 file)

Attached patch Patch v1Splinter Review
No description provided.
Attachment #620440 - Flags: review?(ehsan)
Comment on attachment 620440 [details] [diff] [review] Patch v1 Review of attachment 620440 [details] [diff] [review]: ----------------------------------------------------------------- ::: editor/libeditor/html/nsHTMLEditRules.cpp @@ +8047,5 @@ > nsresult > +nsHTMLEditRules::SelectionEndpointInNode(nsINode *node, bool *aResult) > +{ > + NS_ENSURE_TRUE(node && aResult, NS_ERROR_NULL_POINTER); > + nsIDOMNode* aNode = node->AsDOMNode(); Please leave the name of the argument as aNode, rename the local variable to |node|, and change all of the usages in the function.
Attachment #620440 - Flags: review?(ehsan) → review+
OK.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: