Closed Bug 564074 Opened 15 years ago Closed 15 years ago

remove unused mCachedNode/ClearInlineStylesCache from nsHTMLEditor

Categories

(Core :: DOM: Editor, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
While working on bug 563980, I noticed some unused code in nsHTMLEditor: * mCachedNode is used only by one function, which sets it to null * that one function, ClearInlineStylesCache, doesn't do anything other than set mCachedNode to null So I think they can both go away.
Attachment #443766 - Flags: review?(ehsan)
Comment on attachment 443766 [details] [diff] [review] patch r=me. Thanks for removing code from editor/. :-)
Attachment #443766 - Flags: review?(ehsan) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: