remove unused mCachedNode/ClearInlineStylesCache from nsHTMLEditor

RESOLVED FIXED in mozilla1.9.3a5

Status

()

P4
normal
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: dbaron, Assigned: dbaron)

Tracking

Trunk
mozilla1.9.3a5
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 443766 [details] [diff] [review]
patch

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 1

9 years ago
Comment on attachment 443766 [details] [diff] [review]
patch

r=me.  Thanks for removing code from editor/.  :-)
Attachment #443766 - Flags: review?(ehsan) → review+
http://hg.mozilla.org/mozilla-central/rev/bf3601e527a4
Status: ASSIGNED → RESOLVED
Last Resolved: 9 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.