Closed Bug 766783 Opened 8 years ago Closed 8 years ago

nsBulletFrame::mComputedSize is unnecessary

Categories

(Core :: Layout, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

Just noticed that nsBulletFrame currently has a member variable "mComputedSize" which is unnecessary.

We only use it in one place, and we set its value and then read that value back-to-back in that place.  (I believe this has basically been the case since this variable was added in bug 78690.)

Attached patch just removes the variable altogether.
Attachment #635123 - Flags: review?(matspal)
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Comment on attachment 635123 [details] [diff] [review]
fix v1 (remove member var)

Good catch!
Attachment #635123 - Flags: review?(matspal) → review+
https://hg.mozilla.org/mozilla-central/rev/42c652ac08c8
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.