Closed Bug 174256 Opened 23 years ago Closed 23 years ago

remove unused arena-allocation operators on style sheets/rules

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.3alpha

People

(Reporter: dbaron, Assigned: dbaron)

Details

(Whiteboard: [patch][whitebox])

Attachments

(1 file)

I noticed that the mRefCnt and arena allocation hacks on nsCSSRule and ns{CSS,HTMLCSS,HTML}StyleSheet are all unused. alecf had problems with these while working on bug 166147. (While it might be nice to arena-allocate these objects, they're currently refcounted, which is a problem. And there are DOM issues, since all these objects are accessible via the DOM. So I don't see arena-allocation happening anytime soon)
Attached patch patch (mangled)Splinter Review
This is the patch. It's hand edited quite a bit due to other changes in the same areas that are in my tree. I wrote "MANGLED" in the two spots where it won't actually apply because I didn't bother figuring out the correct line ranges to write in.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.3alpha
Comment on attachment 102735 [details] [diff] [review] patch (mangled) r/sr=bzbarsky
Attachment #102735 - Flags: superreview+
Whiteboard: [patch] → [patch][dev notes]
Attachment #102735 - Flags: review+
Fix checked in to trunk, 2002-10-14 16:52/54/56/57 PDT.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [patch][dev notes] → [patch][whitebox]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: