nsLayoutStyleSheetcache has odd destructor

RESOLVED FIXED in mozilla6

Status

()

defect
P5
normal
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: dbaron, Assigned: dbaron)

Tracking

Trunk
mozilla6
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Posted patch patchSplinter Review
nsLayoutStyleSheetCache has a destructor that duplicates the work that its static shutdown method does, but incorrectly (since it doesn't release the pointers).  The destructor should just be removed, since the shutdown method nulls out both pointers with its NS_RELEASE.
Attachment #527977 - Flags: review?(bzbarsky)
Comment on attachment 527977 [details] [diff] [review]
patch

r=me
Attachment #527977 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/d656c5e38d83
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Priority: P4 → P5
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.